Change crontab examples

This commit is contained in:
TuRz4m 2015-10-27 11:39:58 +01:00
parent ad1098fb34
commit 8b389d0bfb

10
run.sh
View file

@ -38,8 +38,14 @@ if [ -f /ark/crontab ]; then
crontab /ark/crontab crontab /ark/crontab
else else
cat <<EOT >> /ark/crontab cat <<EOT >> /ark/crontab
# Minute Hour Day of Month Month Day of Week Command # Example of job definition:
# (0-59) (0-23) (1-31) (1-12 or Jan-Dec) (0-6 or Sun-Sat) # .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * user command to be executed
# Example : update every hour # Example : update every hour
# 0 * * * * arkmanager update # 0 * * * * arkmanager update
# Example : backup every 15min # Example : backup every 15min