Closed (fixed)
Project:
Hostmaster (Aegir)
Version:
6.x-0.4-alpha3
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Dec 2009 at 03:58 UTC
Updated:
9 Jan 2010 at 04:30 UTC
when executing from crontab this line:
*/1 * * * * (php '/var/aegir/drush/drush.php' --debug --root='/var/aegir/drupal-6.15' hosting dispatch > /var/aegir/log.txt)
I obtain the following errors
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.036 sec] [bootstrap]
Loading drushrc "/var/aegir/drupal-6.15/drushrc.php" into "drupal" [bootstrap]
scope. [0.036 sec]
Initialized Drupal 6.15 root directory at /var/aegir/drupal-6.15 [notice]
[0.048 sec]
Could not find a Drupal settings.php file at ^[[31m^[[1m[error]^[[0m
./sites/default/settings.php. [0.052 sec]
The command 'drush.php hosting dispatch' could not be found. [0.052 ^[[31m^[[1m[error]^[[0m
sec]
I had controlled more than one time the configuration, but it doesn't work, please help
Comments
Comment #1
d.sibaud commentedfixed the automatically generated crontab line with the following:
*/1 * * * * (php '/var/aegir/drush/drush.php' hosting dispatch --root='/var/aegir/drupal-6.15' --uri='aegir.tourtools.it' > /dev/null)