In #246096: Cron triggers are not executed there are some patches http://drupal.org/files/issues/trigger-issue-246096.patch that seems to work but they are not included in 6.10. I wonder if there is some problems and why it is not included in new releases?
Would not like to hack the kernel.

In my module I would like to call a function twice a day and thought that cron, that runs once an hour, could make the call at two specified times, or is there a better way?
My function shall go through all nodes, so I don't want it to check this on each call to the site or something.

Grateful for any assistance/Örjan

Comments

Jody Lynn’s picture

Category: feature » support

Closing old support request.

This sounds like a custom module development question. It is easily handled by storing your own variable to hold the last time your function fired and checking this during cron jobs.

Status: Active » Closed (outdated)

Automatically closed because Drupal 6 is no longer supported. If the issue verifiably applies to later versions, please reopen with details and update the version.