[aegir] Cron Queue not running, though task queue works fine.
Miguel Jacq
miguel.jacq at gmail.com
Fri Sep 10 20:02:33 EST 2010
Hi,
On Fri, Sep 10, 2010 at 7:51 PM, Kaustubh Srikanth <kaustubh at houndbee.com>wrote:
> Hi,
>
> I've had this for a few weeks and I just can't seem to get my head
> around why this is happening. The cron is obviously running fine
> because the tasks queue has no issues. But the cron queue hasn't run
> in about 4 weeks now.
>
Sometimes the cause of this is one of your sites and a module causing cron
to error out prematurely.
To start debugging the issue, run the command that is in your crontab, but
replace 'hosting-dispatch' with 'hosting-cron --debug' and start looking at
the output.
You should see hosting-cron fork out a bunch of 'drush cron' commands
against 5 sites. On each cron run, the sites are meant to rotate so that the
next sites in your set of 21 are run, then the next 5, and so on.
Example from the output:
/var/aegir/drush/drush.php @somesite.com cron --backend
Using this example from the hosting-cron command (if the error isn't already
immediately apparent at that point), start running the 'drush cron' command
manually on each site from the CLI with --debug instead of --backend, to see
if there are problems. 'drush cron' simply invokes the hook_cron functions
in any modules on a Drupal site.
Good luck,
Mig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.aegirproject.org/pipermail/aegir/attachments/20100910/86badaa9/attachment-0001.htm>
More information about the aegir
mailing list