How to configuration Cron Job in cPanel for .PHP script.
I want to run it every day once a day.
Where i need to store this .php file ?
How can i check whether its working or not ?
How to configuration Cron Job in cPanel for .PHP script.
I want to run it every day once a day.
Where i need to store this .php file ?
How can i check whether its working or not ?
You may put the file.php file in the "public_html" folder in your server.
You have the option of cron job in the cpanel "Advanced" section.
Once you're there you have the option to add a new cron job and "common setting" called "Once a day", which will satisfy your need.
In the "command" field paste this: wget --spider http://yoursite.com/file.php and then save.
Of course this is not the best practice, but I hope it will do the job for you.