Line 35: |
Line 35: |
| | | |
| * The '''/sbin/ping_reboot 1 8.8.8.8 NULL 2 56 5 1 0 cfg02c21d''' part indicates the action that is to be taken. In this case it is the ''/sbin/ping_reboot'' command with the options ''1 8.8.8.8 NULL 2 56 5 1 0 cfg02c21d'' that go with it | | * The '''/sbin/ping_reboot 1 8.8.8.8 NULL 2 56 5 1 0 cfg02c21d''' part indicates the action that is to be taken. In this case it is the ''/sbin/ping_reboot'' command with the options ''1 8.8.8.8 NULL 2 56 5 1 0 cfg02c21d'' that go with it |
− | * The '''*/5 * * * *''' part indicates the frequency at which the action is executed. It consists out of five segments: '''minute''', '''hour''', '''day of the month''', '''month''' and '''day of the week''' in that order. A table of examples on how to specify this frequency is presented below: | + | * The '''*/5 * * * *''' part indicates the frequency at which the action is executed. It consists out of five segments: '''minute''', '''hour''', '''day of month''', '''month''' and '''day of week''' in that order. A table of examples on how to specify this frequency is presented below: |
− | | |
− | min hour day/month month day/week Description
| |
− | 0-59 0-23 1-31 1-12 0-6
| |
− |
| |
− | */5 * * * * every 5 minutes
| |
− | 12 */3 * * * every 3 hours at 12 minutes
| |
− | 57 11 15 1,6,12 * At 11:57 Hrs on 15th of Jan, June & Dec.
| |
− | 25 6 * * 1-5 At 6:25 AM every weekday (Mon-Fri)
| |
− | 0 0 4,12,26 * * At midnight on 4th, 12th and 26th of every month
| |
− | 5,10 9,14 10 * 0,4 At 9:05AM, 9:10AM, 2:05PM and 2:10PM every Sunday and Thursday
| |
− | | |
| | | |
| + | {| class="wikitable" |
| + | |+ |
| + | ! style="width: 130px; text-align: left;" | Segment |
| + | | style="width: 100px; text-align: center; | '''minute''' |
| + | | style="width: 100px; text-align: center; | '''hour''' |
| + | | style="width: 110px; text-align: center; | '''day of month''' |
| + | | style="width: 100px; text-align: center; | '''month''' |
| + | | style="width: 100px; text-align: center; | '''day of week''' |
| + | | rowspan="2" style="width: 500px; text-align: center; | '''Description''' |
| + | |- |
| + | ! style="text-align: left;" | Possible values |
| + | | style="text-align: center; vertical-align: top;" | '''0-59''' |
| + | | style="text-align: center; vertical-align: top;" | '''0-23''' |
| + | | style="text-align: center; vertical-align: top;" | '''1-31''' |
| + | | style="text-align: center; vertical-align: top;" | '''1-12''' |
| + | | style="text-align: center; vertical-align: top;" | '''0-6''' |
| + | |- |
| + | ! rowspan="6" style="text-align: left;" | Examples |
| + | | style="text-align: center; vertical-align: top;" | */5 |
| + | | style="text-align: center; vertical-align: top;" | * |
| + | | style="text-align: center; vertical-align: top;" | * |
| + | | style="text-align: center; vertical-align: top;" | * |
| + | | style="text-align: center; vertical-align: top;" | * |
| + | | style="text-align: left; vertical-align: top;" | every 5 minutes |
| + | |- |
| + | | style="text-align: center; vertical-align: top;" | 12 |
| + | | style="text-align: center; vertical-align: top;" | */3 |
| + | | style="text-align: center; vertical-align: top;" | * |
| + | | style="text-align: center; vertical-align: top;" | * |
| + | | style="text-align: center; vertical-align: top;" | * |
| + | | style="text-align: left; vertical-align: top;" | every 3 hours at 12 minutes |
| + | |- |
| + | | style="text-align: center; vertical-align: top;" | 57 |
| + | | style="text-align: center; vertical-align: top;" | 11 |
| + | | style="text-align: center; vertical-align: top;" | 15 |
| + | | style="text-align: center; vertical-align: top;" | 1/6/12 |
| + | | style="text-align: center; vertical-align: top;" | * |
| + | | style="text-align: left; vertical-align: top;" | At 11:57 Hrs on 15th of Jan, June & Dec. |
| + | |- |
| + | | style="text-align: center; vertical-align: top;" | 25 |
| + | | style="text-align: center; vertical-align: top;" | 6 |
| + | | style="text-align: center; vertical-align: top;" | * |
| + | | style="text-align: center; vertical-align: top;" | 1 |
| + | | style="text-align: center; vertical-align: top;" | 5 |
| + | | style="text-align: left; vertical-align: top;" | At 6:25 AM every weekday (Mon-Fri) |
| + | |- |
| + | | style="text-align: center; vertical-align: top;" | 0 |
| + | | style="text-align: center; vertical-align: top;" | 0 |
| + | | style="text-align: center; vertical-align: top;" | 4,12,26 |
| + | | style="text-align: center; vertical-align: top;" | * |
| + | | style="text-align: center; vertical-align: top;" | * |
| + | | style="text-align: left; vertical-align: top;" | At midnight on 4th, 12th and 26th of every month |
| + | |- |
| + | | style="text-align: center; vertical-align: top;" | 5.10 |
| + | | style="text-align: center; vertical-align: top;" | 9.14 |
| + | | style="text-align: center; vertical-align: top;" | 10 |
| + | | style="text-align: center; vertical-align: top;" | * |
| + | | style="text-align: center; vertical-align: top;" | 0,4 |
| + | | style="text-align: left; vertical-align: top;" | At 9:05AM, 9:10AM, 2:05PM and 2:10PM every Sunday and Thursday |
| + | |- |
| + | |} |
| ==External links== | | ==External links== |
| | | |
| https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html - PuTTY downloads page link | | https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html - PuTTY downloads page link |