innovationslive32
New Member
- Messages
- 4
- Reaction score
- 0
- Points
- 0
I am trying to run a php file to update database everynight at midnight using cron jobs. But i just cant get it to work.
My file is in a scripts folder under my addon domain. I am not able to understand the path to the file or to php. I am so confused.
What command do i give in the cpanel cron jobs page? Can i simply give the URL of my script as the command (http://www.mydomain.com/scripts/cron.php)
Also, can you please let me know the server timezone so that i can change the time of the cron job to match local midnight time.
My file is in a scripts folder under my addon domain. I am not able to understand the path to the file or to php. I am so confused.
What command do i give in the cpanel cron jobs page? Can i simply give the URL of my script as the command (http://www.mydomain.com/scripts/cron.php)
Also, can you please let me know the server timezone so that i can change the time of the cron job to match local midnight time.