JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser .
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
Administrator
Staff member
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