Aegir cron queue not running. How to fix?

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
SocialNicheGuru's picture

Hi,

Aegir task cron runs as expected.

But individual site crons are not running.

I looked at my setup under hosting >queues

while my takss queue runs as expected my cron queue has not run for several weeks.
How can I force this to happen?

su - aegir
crontab -e

SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
*/1 * * * * /usr/bin/php /var/aegir/drush/drush.php --php=/usr/bin/php '@hostmaster' hosting-dispatch

I tried per troubleshooting instructions to reset cron:

cd /var/aegir/hostmaster-alpha14
/var/aegir/drush/drush.php hosting-setup --uri="my-site-url"
Could not find a Drupal settings.php file at                         [error]
./sites/default/settings.php.
The drush command 'hosting-setup' could not be found.

I also tried

cd /var/aegir/hostmaster-alpha14/sites/my-site-url
/var/aegir/drush/drush.php hosting-setup --uri="my-site-url"
Could not find a Drupal settings.php file at                         [error]
./sites/default/settings.php.
The drush command 'hosting-setup' could not be found.

Comments

Config?

skwashd's picture

Is the cron queue module enabled? Check at http://example.com/admin/hosting/features

What are the "Cron queue" settings you have configured? Check at http://example.com/admin/hosting/queues

How many sites do you have setup?

Note: Replace example.com in the URLs above with the FQDN of your Aegir instance.

Same issue for me. Cron queue

mrfelton's picture

Same issue for me. Cron queue is enabled, and set up to run every 30 minutes, but's it not running. Other tasks are being run without issue.

UPDATE: Issue and patch at http://drupal.org/node/931550

--
Tom
www.systemseed.com - drupal development. drupal training. drupal support.

Aegir hosting system

Group organizers

Group categories

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: