how can I make a cronjob that it runs every 5min from 7am until 12pm , and after that it runs every 10min every hour?
*If you want to do it with writing a short code please use python!
thanks 😡
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.
If you want to manipulate crontab files, here is a nice lib for that.
If you want to write python script that able to scedule periodic tasks (like cron does) APScheduler will be a nice solution.