[TYPO3-dev] scheduler and doNotLoadInFE

Xavier Perseguers typo3 at perseguers.ch
Thu Aug 19 10:45:52 CEST 2010


Hi,

>>> but then it would be the better approach to have one task running every
>>> minute or every 2, getting the reminder records from db and doing the
>>> job. Creating one time tasks will flood the scheduler.
>>
>> I don't get the difference on having the records in the scheduler db or
>> in a different table. The scheduler looks for new tasks every x minutes,
>> why would it be better to have a recurring task checking for reminders
>> instead? Just because it is one task?
>
> What Steffen suggests is exactly the same as me. The advantages are:
>
> - only one task registered with the Scheduler
> - the "reminder" table can be written from the FE and there's no need to
> enable the Scheduler in FE anymore (which I find better from a
> conceptual point of view).
>
> If it's not too late in your development, I would really encourage to
> take this approach. Of course it's your choice eventually ;-)

I agree here. I don't like either the approach of having "dumb" tasks 
registered for each and every reminder. I'd prefer too having a general 
"cal reminder" task taking care of its own reminder business. Having the 
list of tasks flooded by cal would not be great.

Xavier




More information about the TYPO3-dev mailing list