I want to Insert data in a table, data of last week at 11:59 on every sunday
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.
Dont use sleep() for this, is a bad practice to keep a process active all the time for this. Use cron as is the right tool for the right job.
If you use linux than do this in a console as a root
This will allow you to edit the cron joblist. Add a line with