cronjobs don't run

Mausie

Verified User
Joined
Jul 22, 2004
Messages
12
I running DA on redhat 9, install clamav, mailscanner, spamassisin. i have tree conjobs and don't work, i get no errors, and see no error in the logs... When i running them from SSH command line, it works good, here are the crons:

php -q -f /home/admin/domains/boschwebservice.nl/public_html/host/include/scripts/generate_invoices_daily.inc.php /home/admin/domains/boschwebservice.nl/public_html/host/ cron 0 0

php -q -f /home/admin/domains/boschwebservice.nl/public_html/host/include/scripts/run_background_batch.inc.php /home/admin/domains/boschwebservice.nl/public_html/host/ cron YUTGFTG5854IS456AQQWD

php -q -f /home/admin/domains/boschwebservice.nl/public_html/host/include/scripts/run_auto_suspend.cron.php /home/admin/domains/boschwebservice.nl/public_html/host/ cron

i h've try in crontab -e, same results, in DA user cronjos same results...

The other cronjobs running okay...

What's wrong?? Please help...

Thanks.
 
I have similar strange error:rolleyes:

the cron log are ok, the script are executed well from ssh...:o

any ideas? Thanks
 
Try this:

Check your cron logs to make sure its running (/var/log/cron).. also check the user cron list to make sure it's actually added:

crontab -u username -l

set the full path /usr/local/bin/php -q -f /home/admin/..............

this works fine to me
 
Also, if I may add...

Logged in through a shell, make sure the crond daemon is running:

$ ps waux | grep crond

(Note the $ sign means you don't have to be logged in as root.)

Jeff
 
Cron on freebsd 5.3

Hello!

I've got similar problem on freebsd 5.3 box. Cron deamon is running:

ps: root 0:08.47 /usr/sbin/cron -s

Cron command is listed in users crontab and it can be successfully executed from shell. Log also show that it was executed

Feb 13 13:25:00 atapajtl /usr/sbin/cron[282]: (myuser) CMD (wget -q http://cleaning.domain.net/cron.php)

But it acctualy wasn't...

Any suggestions?
Thanks!
 
Back
Top