Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

crontab sample command

# Example of job definition:
# .---------------- minute (0 - 59)
# |  .------------- hour (0 - 23)
# |  |  .---------- day of month (1 - 31)
# |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
# |  |  |  |  .---- weekday (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# |  |  |  |  |
# *  *  *  *  *  user command to be executed
10 * * * * /bin/sh backup.sh    # every hour at 10"
Source by crontab.guru #
 
PREVIOUS NEXT
Tagged: #crontab #sample #command
ADD COMMENT
Topic
Name
3+1 =