Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

migrated from Nov 8 '09 at 1:25

This question came from our site for professional and enthusiast programmers.

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)
share|improve this answer

Sat 8:05AM run find

# 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)                
    5       8          *             *                Sat              /usr/bin/find
share|improve this answer

These answers are all correct, if you are unaware of how to use cron in the future, use one of many cron generators:

share|improve this answer
The website is no more accessible. – Jeyanthan I Jun 19 '15 at 17:25
1 or are available – niallhaslam Sep 10 '15 at 9:09

From extensive investigation of "man 5 crontab", it looks like this'll do the trick:

5 8 * * sat /usr/bin/man 5 crontab

share|improve this answer
5     8     *     *     6         *your command*
share|improve this answer

5 8 * * 6 /usr/bin/foo run every week on Saturday at 8:05 AM

share|improve this answer

You can also do like this:

Change crontab:

5 8    * * *   <user>   cd / && run-parts --report /etc/cron.daily

And put all your command scripts in this directory /etc/cron.daily. Make sure that you have added the execution rights for them.

share|improve this answer

You must log in to answer this question.

protected by Community Aug 14 '14 at 7:55

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .