[development] Batch API on cron

andrew morton drewish at katherinehouse.com
Thu Jul 15 13:07:03 UTC 2010


On Thu, Jul 15, 2010 at 7:46 AM, Earnie Boyd
<earnie at users.sourceforge.net> wrote:
> Sven Decabooter wrote:
>>
>> Any pointers as to how I could have large chunks of data processed on
>> cron in another way?
>>
>
> Not by using hook_cron but by creating a separate script that you execute
> within the server cron.  The cron process sets a hard 240 seconds to execute
> hook_cron implementations.

But remember that you can always call set_time_limit() in your script
to adjust the limit, though it just affects PHP's limit, not the
webserver's.

andrew


More information about the development mailing list