PDA

View Full Version : PHP / Crontab problems


jetsetter
05-15-2001, 02:52 PM
I'm trying to setup a crontab to run a php script during the day. I've set the time to * * * * * to test.

This is the crontab
* * * * * php /home/user_name/public_html/script.php > /dev/null/

I get nothing though, it seems it never runs the script. If I run the script from a browser it works fine and does its job.

What am I doing wrong? I also can't get a mysqldump to work, but that's another story (or is it?)

Joe

petesmc
05-15-2001, 03:10 PM
Hi,

Send in a ticket about it please as you do have the correct format. Try removing the last slash and see if that works.

-Peter

jetsetter
05-15-2001, 03:14 PM
And I got it right from your coding click boards too! I'll send in a ticket.