Problem : I ran crontab -e and made some changes, now how do I save it? Solution : That depends […]
Tag: crontab
How to run a job on first login of each day using cron or something similar?
Problem : I need to run a script when i login for first time in a day. I may reboot […]
Unable to save and exit an editor
Problem : I open new window by typing crontab -e in terminal. After that I placed this line at the […]
Cron job to delete files older than x days?
Problem : I’m currently using this cron job to delete stalled temp files in a particular location. How can I […]
Cronjob runs before the scheduled time, what could be wrong?
Problem : I have below crontab scheduled for Saturday that falls between days 19-23, I’ m not sure why it […]
Error setting up Crontab
Problem : Trying to set up a cronjob: 0 12 * * * /usr/bin/mysqldump –all-databases > /backups/mysql/`date “+%Y-%m-%d”`.sql Getting error: […]
How to stop all instances of cron?
Problem : I have a cron job that executes a rake task in rails. I noticed in the log that […]
Error in Crontab
Problem : 10 45 * * 1-3 changeExtension.sh When i am saving this particular file i am getting the following […]
How do I make crontab generate a unique log each time it runs a job?
Problem : Here is the crontab job /usr/local/bin/python2.7 /home/scripts/script.py >> /home/scripts/logs/log.log 2>&1 How do I generate a new log every […]
How would I make a cron job stop and start again?
Problem : I am trying to make a cron job that stops at 12am today(friday) then start again Monday at […]