evolution / wordpress

Rapidly create, develop, & deploy WordPress across multiple environments.
MIT License
200 stars 18 forks source link

Cron Directory issue #148

Closed jalevin closed 8 years ago

jalevin commented 8 years ago

I started receiving failed cron job email alerts after setting up a catch-all email address for one of my projects. This

Cron deploy@production cd /var/www/mydomain.com/production/master/current/wp && /usr/local/bin/wp core is-installed --path=$PWD --url='http://production.mydomain.com/' && /usr/local/bin/wp cron event run --all --quiet --path=$PWD --url='http://production.mydomain.com/'

The directory directory should be: /var/www/mydomain.com/production/master/current/web/wp

The command should be:

cd /var/www/mydomain.com/production/master/current/web/wp && /usr/local/bin/wp core is-installed --path=$PWD --url='http://production.mydomain.com/' && /usr/local/bin/wp cron event run --all --quiet --path=$PWD --url='http://production.mydomain.com/'

jalevin commented 8 years ago

A directive can be changed in /etc/aliases to the developer's email


#/etc/aliases
postmaster: deploy
deploy: developer@myemailaddress.com
EvanK commented 8 years ago

Oh dear, that's...embarrassing. I'll get this updated and released shortly

EvanK commented 8 years ago

Tagged & released as v1.4.4