Hi all,

I feel like I'm just being stupid and missing something fundamental in the documentation. I want my cron to run at midnight every night and I was having nothing but problems trying to implement through cpanel. With this program, cron tasks run fine manually, but it doesn't seem to do anything that is scheduled. I set the default rule to * * * * * to test and I'm getting nothing.

Is there something I'm missing?

Comments

jcir’s picture

Version: 7.x-2.0 » 7.x-2.x-dev

I have the same,

I created a hook_cron on a module, just putting some info into a table to check if the cron is working,
I tried the schedule rule every 5 minutes, every 3 or * * * * * * to test it, but nothing happens
(I tried the run cron from the status, and from there it's working properly) (the cron task is enabled

Here is the status of the jobs settings I'm trying to do work
(at 11:38 I did a manual run cron)

Job / Rule Last run Last exec time Exec count Avg/Max Exec time
my_module_cron (w) - [run]
*/3 * * * * 16/02/2012 - 11:38 0s 11 0s / 0s

Are we missing something?

gotheric’s picture

Elysia Cron, like standard Drupal Cron, with the default settings will run only when visitors come to visit your site. No visitors = no cron.
So, if your site is in development stage and not public, is normal that cron is not called.

To avoid this, and have a much better cron solution, you should tell your system to call drupal cron automatically. Read Elysia Cron's INSTALL.TXT (Step B) or http://drupal.org/cron

kala4ek’s picture

Issue summary: View changes
Status: Active » Closed (outdated)