Changes

514 bytes added ,  14:43, 19 April 2018
no edit summary
Line 74: Line 74:  
| style="text-align: center; vertical-align: top;" | 1,6,12
 
| style="text-align: center; vertical-align: top;" | 1,6,12
 
| style="text-align: center; vertical-align: top;" | *
 
| 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: left; vertical-align: top;"  | At 11:57 Hrs on the 15th of Jan, June & Dec.
 
|-
 
|-
 
| style="text-align: center; vertical-align: top;" | 25
 
| style="text-align: center; vertical-align: top;" | 25
Line 88: Line 88:  
| style="text-align: center; vertical-align: top;" | *
 
| style="text-align: center; vertical-align: top;" | *
 
| style="text-align: center; vertical-align: top;" | 5
 
| style="text-align: center; vertical-align: top;" | 5
| style="text-align: left; vertical-align: top;"  | At midnight on 4th, 12th and 26th of every month plus every Friday
+
| style="text-align: left; vertical-align: top;"  | At midnight on the 4th, 12th and 26th of every month plus every Friday
 
|-
 
|-
 
| style="text-align: center; vertical-align: top;" | 5,10
 
| style="text-align: center; vertical-align: top;" | 5,10
Line 100: Line 100:     
There are several nuances to discuss here:
 
There are several nuances to discuss here:
* an '''asterisk''' ('''*''') stands for every possible value of the relevant time unit. For example, if placed in the hour section, it would indicate that an action should be taken every hour
+
* a '''number''' indicates the exact time at which an action should occur. For example, if the number '''5''' was placed in the minute section, the specified action would be taken at the fifth minute of every hour.
* a '''number''' indicates the exact time at which an action should occur. For example, if the number 5 was placed in the minute section, the specified action would be taken at the fifth minute of every hour
+
* an '''asterisk''' ('''*''') stands for every possible value of the relevant time unit. For example, if placed in the hour section, it would indicate that an action should be taken every hour.
* numbers separated by '''commas''' (''',''') indicate multiple specific time stamps at which an action should occur. For example, if the numbers 6,9,10 were placed in the hour section, the specified action would be taken at 6:00 AM, 9:00 AM and 10 AM every day  
+
* two numbers separated by a '''dash'''('''-''') indicate a range of numbers. For example, if '''4-7''' was placed in the month section, it would indicate than the specified action should take place every fourth, fifth, sixth and seventh month of a year.
* an asterisk and a number separated by a '''forward slash''' ('''/''') indicate a periodicity. For example, */10 placed in the minute section would indicate that the specified action should occur every 10 minutes
+
* numbers separated by '''commas''' (''',''') indicate multiple specific time stamps at which an action should occur. For example, if '''6,9,10''' was placed in the hour section, the specified action would be taken at 6:00 AM, 9:00 AM and 10 AM every day. Ranges of numbers can also be separated by commas. For instance, '''5-10,20-25''' placed in the minute section would indicate that an action must occur every fifth through tenth minute as well as every twentieth through twenty fifth minute.
 +
* an asterisk and a number separated by a '''forward slash''' ('''/''') indicate a periodicity. For example, '''*/10''' placed in the minute section would indicate that the specified action should occur every 10 minutes.
 
* the '''day of week''' segment functions a bit differently than the others:
 
* the '''day of week''' segment functions a bit differently than the others:
** 0 indicates Sunday and 1-6 indicate Monday through Saturday
+
** 0 indicates Sunday and 1-6 indicate Monday through Saturday.
** since weekdays shift throughout the year, i.e., they are not dependent on specific days of a month, so when they are used with crontab in conjunction, the action will be executed when the current time matches the value in either field. For instance, ''5 5 5 * 5'' would cause the specified command to be executed at 5:05 AM every fifth day of every month plus every Friday
+
** since weekdays shift throughout the year, i.e., they are not dependent on specific days of a month, so when they are used with crontab in conjunction, the action will be executed when the current time matches the value in either field. For instance, ''5 5 5 * 5'' would cause the specified command to be executed at 5:05 AM every fifth day of every month plus every Friday.
    
==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

Navigation menu