Timeline for Drush command to run cron won't work in Crontab
Current License: CC BY-SA 4.0
2 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 16, 2023 at 12:56 | comment | added | ChumKui | I have also been caught by this, all I needed was the path to Drush, I did not have to worry about PHP - I just used 'which drush' for the user the crontab was set up for and substituted this path in the script. You can check it by creating a simple script that does a drush @your_alias status and redirect that to a log. Add it to cron to run every 5 mins and you can check all is OK. Just delete this task after you are happy | |
Apr 18, 2019 at 2:43 | history | answered | albertski | CC BY-SA 4.0 |