lowprofile787
Verified User
- Joined
- Nov 1, 2012
- Messages
- 4
Hi
Installed a new server with CentOS 6.6, Nginx_apache, php-fpm.
Since install, cronjobs haven't been working. If you run the job in ssh manually, it works great.
e.x
php /home/magento/domains/demo.com/public_html/cron.php > /dev/null
also tried: cd /home/magento/domains/demo.com/public_html/; /usr/local/bin/php ./cron.php
I have a 6.5 installation, with same settings (except no nginx)
It works great on that box with "php /home/magento/domains/demo.com/public_html/cron.php > /dev/null"
Softacolous add on same base and work great on old box, but this one wont work. Only from SSH.
I've tried 10-12 different combination, adviced in earlier threads. What is wrong?!
cronjob log shows:
Mar 4 00:48:01 m1 CROND[38622]: (root) CMD (/usr/local/directadmin/dataskq)
Mar 4 00:48:01 m1 CROND[38624]: (root) CMD (/usr/bin/python /usr/sbin/statsnotifer check-admin)
Mar 4 00:48:01 m1 CROND[38623]: (magento) CMD (cd /home/magento/domains/demo.com/public_html/; /usr/local/bin/php ./cron.php)
Installed a new server with CentOS 6.6, Nginx_apache, php-fpm.
Since install, cronjobs haven't been working. If you run the job in ssh manually, it works great.
e.x
php /home/magento/domains/demo.com/public_html/cron.php > /dev/null
also tried: cd /home/magento/domains/demo.com/public_html/; /usr/local/bin/php ./cron.php
I have a 6.5 installation, with same settings (except no nginx)
It works great on that box with "php /home/magento/domains/demo.com/public_html/cron.php > /dev/null"
Softacolous add on same base and work great on old box, but this one wont work. Only from SSH.
I've tried 10-12 different combination, adviced in earlier threads. What is wrong?!
cronjob log shows:
Mar 4 00:48:01 m1 CROND[38622]: (root) CMD (/usr/local/directadmin/dataskq)
Mar 4 00:48:01 m1 CROND[38624]: (root) CMD (/usr/bin/python /usr/sbin/statsnotifer check-admin)
Mar 4 00:48:01 m1 CROND[38623]: (magento) CMD (cd /home/magento/domains/demo.com/public_html/; /usr/local/bin/php ./cron.php)