Details
Description
Hi,
Modified the cronjob and the EmailProcessor so you can run them from the shell directly. so, in your cron instead of
wget --spider --force-html 'http://<yourdomain>.com/sites/all/modules/civicrm/bin/civimail.cronjob.php?name=cronuser&pass=cronpass&password=password&key=key' >/dev/null 2>&1
you would have
nice -19 php bin/civimail.cronjob.php -k key -u cronuser -p cronpass -s <yourdomain>.com
Benefits:
- avoid the overhead of a http server
- no timeout issue
- no memory issue
- can run at a lower priority than the website
- can be run for a different user than www-data
I'm waiting for the branch of 3.2 to submit the patch.
And I would like to replace the user password by the user key or other alternatives as discussed there: