Run a command every week with Cron

croncrontab

Simple question- what would a crontab entry look like for a command I want to run every week on Saturday at 8:05 AM?

Best Answer

That should do it:

5 8 * * 6 <user> <command>

or for readability

5 8 * * Sat <user> <command>

documentation (man 5 crontab):

              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)
Related Question