cronjob

flocast

New member
Joined
Jun 26, 2006
Messages
1
I am trying to set up a cronjob and can't seem to get it to work. I have read the other posts, and have tried the following for the command:

usr/local/bin/php /home/myuser/domains/mydomain/blah.php

also simply

http://www.mydomain.com/blah.php

Neither seem to work. Any help would be great. Thanks
 
Is this just a typo?

usr/local/bin/php /home/myuser/domains/mydomain/blah.php


it should be:

/usr/local/bin/php /home/myuser/domains/mydomain/public_html/blah.php

Both with the leading / and the public_html in the path.

If it doesnt even work via the http://domain.com/blah.php method, then the script probably isn't there ;) .. so you'll have to figure out where it is first.

John
 
Back
Top