GreggIrwin
Guppy
Hi there,
We recently moved to JoDoHost, and I need to set up our cron jobs now. I'm getting a "No such file or directory" email, so I think I just have a simple path error. Before just hacking things, I thought I would ask what JoDo recommends or prefers.
I tried this first:
$HOME/<domain>.com/cgi/<script>
Which resolves to this:
/hsphere/local/home/<hosting user>/<domain>.com/cgi/<script>
Then I tried a relative path, rather than absolute:
/<domain>.com/cgi/<script>
I would also like to confirm that this is the correct PHP path to use with cron jobs:
/hsphere/shared/php5/bin/php-cli /hsphere/shared/php5/bin/php-cli
Then the answer to the above path question should apply as well. e.g.:
/hsphere/shared/php5/bin/php-cli /hsphere/shared/php5/bin/php-cli $HOME/<domain>.com/<path/script>.php
Thanks!
P.S. I have tested the scripts manually via a browser, so I have confirmed that they work there.
We recently moved to JoDoHost, and I need to set up our cron jobs now. I'm getting a "No such file or directory" email, so I think I just have a simple path error. Before just hacking things, I thought I would ask what JoDo recommends or prefers.
I tried this first:
$HOME/<domain>.com/cgi/<script>
Which resolves to this:
/hsphere/local/home/<hosting user>/<domain>.com/cgi/<script>
Then I tried a relative path, rather than absolute:
/<domain>.com/cgi/<script>
I would also like to confirm that this is the correct PHP path to use with cron jobs:
/hsphere/shared/php5/bin/php-cli /hsphere/shared/php5/bin/php-cli
Then the answer to the above path question should apply as well. e.g.:
/hsphere/shared/php5/bin/php-cli /hsphere/shared/php5/bin/php-cli $HOME/<domain>.com/<path/script>.php
Thanks!
P.S. I have tested the scripts manually via a browser, so I have confirmed that they work there.