Changes

13 bytes added ,  15:57, 19 April 2018
Line 106: Line 106:  
* 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.
 
* 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.
    
==Example==
 
==Example==

Navigation menu