crontab example in linux
Find Below example for crontab linux example.
# Minute Hour Day of Month Month Day of Week Command # (0-59) (0-23) (1-31) (1-12 or Jan-Dec) (0-6 or Sun-Sat) 0 4 1 * 0 /usr/bin/example
This line executes the "example" command at 4AM on the 1st of every month that a Sunday falls on.
The -l option causes the current crontab to be displayed on standard output.
The -r option causes the current crontab to be removed.
The -e option is used to edit the current crontab using the editor specified by the VISUAL or EDITOR environment variables.