By gsvitak on
Hello,
I am somewhat new to drupal and I am confused by how the cron job works and I would like someone to verify my understanding.
If I have a module and I implement the cron_hook, then when the cron job runs, it will execute my code in the hook correct?
Additionally, I think I am going to have a couple of different jobs that need to run at different time. I know I can schedule the cron through the cpanel interface with my hosting provider. I am confused to know how the different hooks will run at the appropriate times.
thanks,
G
Comments
You can search for
You can search for modulename_cron to see what happens when cron.php is called. Running different things at different times may be tricky. Can you give an example?
http://www.trailheadinteractive.com
thank you
Thank you for you advise and pointing me in the right direction
for others, the following link might be helpful in the future...
http://drupal.org/node/55243