Learn all about crontab command
crontab utility is an effective way to schedule a routine background job at a specific date-time and/or day. There are 6 fields in the crontab:
<MINUTE> <HOUR> <DAYOFMONTH> <MONTHOFYEAR> <DAYOFWEEK> <COMMANDTOEXECUTE> MINUTE - 0 to 59 HOUR - 0 to 23 DAYOFMONTH - 1 to 31 MONTHOFYEAR - 1 to 12 DAYOFWEEK - 0 to 6 COMMANDTOEXECUTE - Command to be executedhere, <,> signs are shown for representation purpose only.
root:~# crontab -e
root:~# crontab -u USERNAME -e
root:~# crontab -l
root:~# crontab -u USERNAME -l
root:~# crontab -r This will remove all crontab entry without confirmation.
root:~# crontab -i -r This will take confirmation from user before removing crontab entries.
root:~# man crontab