Featured post
php - Cron Jobs stopped working -
i've been running daily cron job few months , working fine. cron job runs php script database action mails email address results. few days ago, when script ran, database action stopped working, send me email. changed php script send different email, still sends me old one. can't seem new scripts run , when set email address cron job run doesn't send one.
any thought how can on track?
more information: use linux os cpanel.
i've used following commands. /usr/bin/php -f /home/[user]/public_html/[path script] /usr/bin/php -q /home/[user]/public_html/[path script] /usr/local/bin/php -f /home/[user]/public_html/[path script] /usr/local/bin/php -q /home/[user]/public_html/[path script]
php says path php /usr/bin/php however, used work local part in there.
@dampes8n- i'd rather not. php script includes few sql commands , mail function. works fine without errors when visited browser. @paul- inclined believe. think cron daemon stuck somehow. when try add new cron jobs, don't register going off, , won't send emails email address when cron should go off.
i complete newbie cron. access cron jobs in cpanel x. i'm pretty sure don't use crontab. detailed instructions actions you'd me take great.
well, wound contacting hosting support. turns out domain moved new server , cron jobs still running on old one.
- Get link
- X
- Other Apps
Comments
Post a Comment