I have the following output :

Load alias @sites [notice]
You are about to execute 'cron' non-interactively (--yes forced) on all of the following targets:
/test/#test.net
Continue? (y/n): y
/usr/local/bin/php /usr/local/lib/php/drush/drush.php [notice]
--php=/usr/local/bin/php --backend=2
--php=/usr/local/bin/php
--root=/test/ --yes --verbose
--uri=test.net cron 2>&1
Initialized Drupal 7.12 root directory at [notice]
/test/
Initialized Drupal site test.net at sites/test.net [notice]
Drush command terminated abnormally due to an unrecoverable [error]
error.

When I try this command on crontab :

* * * * * /usr/bin/env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin COLUMNS=72 /usr/local/bin/drush --root=/test/ @sites --v cron --yes

Comments

greg.1.anderson’s picture

Status: Active » Postponed (maintainer needs more info)

I believe this may be a duplicate of #1031170: Invalid argument supplied for foreach() backend.inc:709 on "drush @sites ups". This will likely work if you use the patch at #8.

michee.lengronne’s picture

Sorry, my apologies. I installed elysia-cron and it is a known issue with it.

greg.1.anderson’s picture

Version: » 8.x-6.x-dev
Status: Postponed (maintainer needs more info) » Closed (won't fix)
Issue tags: +Needs migration

This issue was marked closed (won't fix) because Drush has moved to Github.

If you still need help, please ask your question again on Drupal Answers and then post a link here to the new question. Please also change the status of this issue to closed (duplicate).

Use our Github project for contributing code, or reporting bugs, or requesting features.

johnnydarkko’s picture

Issue summary: View changes

For those who are looking for Drush + Elysia Cron support: #939592: Support Drush