I have crontabs for many machines, and wanted to see what started when, and to ensure load on the database server would be fine. Is there a tool that either converts crontab entries to iCal, or a tool that directly does visualization?
The crontab -l command displays the contents of a crontab file much the same way that the cat command displays the contents of other types of files. You do not have to change the directory to /var/spool/cron/crontabs directory (where crontab files are located) to use this command.
Using the grep command, you can view the log to see the last time when the specific script in the cron job was executed. If the cron job does not produce a visible output, then you would need to check to see if the cron job has actually taken place.
You can use the crontab –l command to display and verify contents of a crontab file.
*/30 * * * * your_command. this means "run when the minute of each hour is evenly divisible by 30" (would run at: 1:30, 2:00, 2:30, 3:00, etc) example #3. 0,30 * * * * your_command. this means "run when the minute of each hour is 0 or 30" (would run at: 1:30, 2:00, 2:30, 3:00, etc)
I don't have a great cron specific answer for this but in case its helpful there are alternative schedulers which give you more information about the running jobs from a central view, something like Cisco's Tidal Scheduler
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With