Job Scheduling Command

 crontab -e     //create & edit the crontab jobs

1st * set to minutes 0-59
2nd * set to hour 0-23
3rd * set to day of month 1-31
4th * set to month 1-12
5th * set to day of week 0-6

*/1 * * * * /root/backup.sh     //Run Cron Job Every 1 Minutes
30 * * * * /root/backup.sh     //Run Cron Job Every 30 Minutes
0 4 * * 1-5 /root/backup.sh     //run cron job monday to friday
0 4 * * 1,5 /root/backup.sh     //run cron job monday and friday only

crontab -l     //list all crontab jobs
crontab -r     //remove all jobs

Popular posts from this blog

Oracle Database 19C Performance Tunning - PART 1

Oracle RMAN Backup And Restore

Oracle Patching Using Opatch Utility

Welcome to DBA Master – Database Tips, Tricks, and Tutorials

Oracle 19c Database Software Installation in OEL8

PostgreSQL Triggers

PostgreSQL Opensource Installation in RHEL or Oracle Linux(OEL) 8 and above

PostgreSQL Cursor

PostgreSQL Procedures

PostgreSQL User & Role Management