Hey everyone, I’ve run into an odd problem. My cron jobs are not running on my trellis site. My cron job for my development/production sites contain this line:
*/15 * * * * vagrant curl -k -s ${WP_HOME}/wp/wp-cron.php > /dev/null 2>&1
It seems like WP_HOME is not being correctly set in the cron file, so the cron job fails. Has anyone else run into an issue like this before?
ben
May 3, 2016, 10:00pm
2
Well that’s a bug! Mind opening an issue on the GitHub repo?
cclass
August 18, 2016, 3:00pm
3
Having the same issue, have looked at https://github.com/roots/trellis/issues/581 . Is there a simple way to fix this without updating all of trellis?
For anyone following, this was solved by https://github.com/roots/trellis/pull/533
cclass
August 22, 2016, 9:28am
6
thanks, easy enough! @swalkinshaw