Wordpress 4.4.2 | CiviCRM 4.7.1
One thing I noticed about CiviCRM cron and one question...
Observation: Cron won't run if there are some escape characters randomly generated by Wordpress.
I was getting this in my cron daemon emails:
/bin/sh: W_!1IUHzMR: command not found ERROR: Invalid username and/or password
I changed my password to something less random and it now works. This might frustrate some users who are using Wordpress's own random generator. I didn't see anything about it in the CiviCRM cron installation documentation, so it frustrated me for a while.
My question: I'd like to do log my cron task like this:
*/15 * * * * /usr/local/bin/php /home/me/public_html/wp-content/plugins/civicrm/civicrm/bin/cli.php -s mydomain.org -u me -p myrandompassword -e Job -a execute >> /home/me/cronlog/mydomain.log 2>&1
to log my errors instead of emailing them, but cron refuses to install:
/usr/bin/crontab: installing new crontab "/tmp/crontab.XXXXax8Prq":3: bad minute errors in crontab file, can't install. Do you want to retry the same edit? n /usr/bin/crontab: edits left in /tmp/crontab.XXXXax8Prq
Is there a way around this?