Hello!
I need help with cron jobs for one script. This is first time I try to setup cron jobs and I don't know where I make mistakes.
The instruction that comes with the script tells me to set up cron jobs like this:
0 0 * * * php -q /path/to/script1.php
*/15 * * * * php -q /path/to/script2.php
I did so in Direct Admin but it doesn't work. In Direct Admin I write in the "command" field :
php -q /home/myusername/domains/mydomain.com/public_html/subfolder/script1.php
I must do something wrong because cron jobs does not work at all.
Can someone give me a good explanation of cron jobs setup in DirectAdmin and help me with this please ?
Thanks
Almin
I need help with cron jobs for one script. This is first time I try to setup cron jobs and I don't know where I make mistakes.
The instruction that comes with the script tells me to set up cron jobs like this:
0 0 * * * php -q /path/to/script1.php
*/15 * * * * php -q /path/to/script2.php
I did so in Direct Admin but it doesn't work. In Direct Admin I write in the "command" field :
php -q /home/myusername/domains/mydomain.com/public_html/subfolder/script1.php
I must do something wrong because cron jobs does not work at all.
Can someone give me a good explanation of cron jobs setup in DirectAdmin and help me with this please ?
Thanks
Almin