Reputation: 1173
What does this command mean in cron? How often will this run? When will it run? Will it run daily?
56 11 * * * /usr/sbin/update-file.sh
Upvotes: 2
Views: 1165
Reputation: 129069
From crontab(5)
:
field allowed values
----- --------------
minute 0-59
hour 0-23
day of month 1-31
month 1-12 (or names, see below)
day of week 0-7 (0 or 7 is Sun, or use names)
Thus, your line means to run /usr/sbin/update-file.sh
every day at 11:56 AM.
Upvotes: 4
Reputation: 2476
Crontab format is: minute, hour, day of month, month, day of week, command.
So this will run /usr/sbin/update-file.sh
at 11:56 AM every day.
Upvotes: 2