How to create a cron job in PHP for getting the update of modified date and time of files/folders?
I am a newbie to create a cron job how to get started?
How to create a cron job in PHP for getting the update of modified
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The easiest way to do this is to create a simple web page on your server, and adding a cron job which consists of a curl call to the page. This way you program everything as you usually do, and you can easily test it, then automate just the call.
You can add some sort of protection to this page, to avoid denial of service attacks.