jcadima
1/5/2016 - 3:10 PM

Linux Crontab Examples

Linux Crontab Examples

http://www.thegeekstuff.com/2009/06/15-practical-crontab-examples/


MIN HOUR DOM MON DOW CMD

Field  Description    Allowed Value
MIN	   Minute field	  0 to 59
HOUR	 Hour field	    0 to 23
DOM	   Day of Month	  1-31
MON	   Month field	  1-12
DOW	   Day Of Week	  0-6
CMD	   Command	      Any command to be executed.

examples:
1) This will execute the Full backup shell script (full-backup) on 10th June 08:30 AM
30 08 10 06 * /home/ramesh/full-backup

30 – 30th Minute
08 – 08 AM
10 – 10th Day
06 – 6th Month (June)
*  – Every day of the week