Der Führer
I feel pretty...
Gender:
Posts: 184
481 credits Members referred : 0
« on: Jul 01, 2006, 10:58:24 pm »
Im trying to set up a cron job in Cpanel 10. I need this cron job to run a file on my ftp called cron.php. What do i put in the "Command to run" box so it will run this cron.php file?
Thanks again.
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
Der Führer
I feel pretty...
Gender:
Posts: 184
481 credits Members referred : 0
« Reply #4 on: Jul 02, 2006, 11:41:53 am »
http with a little modification...
Code:
wget -O /dev/null http://pathtofile/file.php
I put the stuff before it b/c my friend said to but Im pretty sure what you said would have worked. but I dont know Im not much of a php person
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 5799
46391 credits Members referred : 3
« Reply #5 on: Jul 02, 2006, 12:35:07 pm »
This is not about php, it is about linux.
Both wget and curl are commands that do the exact same thing.
The fact that the php command is not working, is good for your hosting provider, otherwise they would propably have some serious security issues, but that is not your concern