I need to run a php script every day, but I have this problem:
If I give the path to de script in this format
I get "Not a directory" in the email the server sends.
If i use
I get that I have no permissions to do this.
What is the correct way to do it?
Thanks!
If I give the path to de script in this format
Code:
/usr/local/bin/php/home/**USER**/public_html/path/to/my.php
If i use
Code:
/home/**USER**/public_html/path/to/my.php
What is the correct way to do it?
Thanks!
Comment