Cron jobs

Archbob

New member
Joined
Aug 4, 2005
Messages
2
I just moved from cPanel to Direct admin and everything been good except the cronjobs. The crons imported from cpanel are in
php -q www/path/to just aren't working and the direct admin help files were no help.

I also tried php -q /usr/home/path/to as well as the full path from server root but nothing is working. How do you get crons to run in Direct Admin and why don't the imported cPanel crons work?
 
you should specify the full path to PHP...

/path/to.php/php -q www/path/to.script

This should work.

Regards,
Onno Vrijburg
 
log into your server using SSH an then type

# which php

without the "#"

On my servers it's in /usr/local/bin.

Regards,
Onno Vrijburg
 
Back
Top