This is a discussion on Crontab question within the Linux software forums, part of the Linux Getting Started category; Hiya, I have a question about the timesetting within a crontab. A non personal user has a crontab that has ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
Hiya,
I have a question about the timesetting within a crontab. A non personal user has a crontab that has the foillowing line in it: ---- minute hour day_of_month month weekday command 0 */3 * * 0,6 /home/"usrname"/out/XX_restrt.sh ---- what is the meaning of the */3 (there is no space in between the * and the /)? Does it run every third hour ? Greetz, Elton |
| Sponsored Links | ||
|
|
|
|||
|
ThX for your answer Chandanperl
So if I take my example it would run every third hour as where you say every third minute(Just to make sure I get it not to attack you) ---- minute hour day_of_month month weekday 0 */3 * * 0,6 command /home/"usrname"/out/XX_restrt.sh ---- |
|
||||
|
Code:
* * * * * command to be executed - - - - - | | | | | | | | | ----- Day of week (0 - 7) (Sunday=0 or 7) | | | ------- Month (1 - 12) | | --------- Day of month (1 - 31) | ----------- Hour (0 - 23) ------------- Minute (0 - 59)
__________________
Rocky Jr. You may have my body & soul, but you will never touch my pride! If you have knowledge, let others light their candles at it. Certified to work on HP-UX / Sun Solaris / RedHat |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| crontab | click007 | Getting started tutorials | 6 | 10-19-2007 04:45 PM |
| Crontab | lacloai | Linux software | 2 | 06-01-2007 03:44 AM |
| start and stop service in crontab. | gthian | Shell scripting | 7 | 05-31-2007 11:04 AM |
| about crontab | darknet | Shell scripting | 2 | 01-04-2007 06:01 PM |
| list every user's crontab script | marinm | Shell scripting | 5 | 07-19-2005 11:24 PM |