Hi, I want to run a cron job to call a PHP script on my server. I am using cpanel from my web host and these are the options:
- Minute:
- Hour:
- Day:
- Month:
- Day of the week:
- Team:
I am really trying to point a command to my file. I use this line /home/abbeysof/public_html/adi/cron/daily.php, but I get this error:
/bin/sh:/home/abbeysof/public_html/adi/cron/daily.php: Permission denied
I asked my web host for help, and this is the answer:
If you use cpanel to create it, it will fill in the path for you. Usually / home / username / public _html / etc
Can anyone suggest some tips?
source
share