home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / crontb.zip / crontab2.dat < prev    next >
Text File  |  1991-07-22  |  5KB  |  108 lines

  1. ;--------------------------------------------------------------------------- 
  2. ;
  3. ; CRONTAB 2.x Data File
  4. ; CRONTAB Copyright 1989-1991, Thomas G. Harold, All Rights Reserved.
  5. ;
  6. ;--------------------------------------------------------------------------- 
  7. ;   Remember, CRONTAB processes this file in sequential order.
  8. ;   This is merely an example file to show how to use the commands.
  9. ;   Spacing & capitalization is for clarity only.
  10. ;   Blank lines & comments are useful for remembering what's going on.
  11. ;   I recommend the following file names for batch files:
  12. ;
  13. ;       (filename)                        (command)
  14. ;       SUN,MON,TUE,WED,THU,FRI,SAT     - DOPW0 thru DOPW6 
  15. ;       WEEKLY0 thru WEEKLY6            - PERW0 thru PERW6
  16. ;       ALWAYS                          - AWS
  17. ;       DAILY                           - PERD
  18. ;       MONTHLY                         - PERM
  19. ;
  20.  
  21.  
  22. ;--------------------------------------------------------------------------- 
  23. ;
  24. ;   AWS class - Always
  25. ;
  26. ;--------------------------------------------------------------------------- 
  27. AWS             ,echo Hello world, I am always executed
  28. awS,echo     in
  29. aWS     ,echo     in order
  30. AwS                                ,echo     in order like
  31. aws     ,echo     in order like this!
  32.  
  33.  
  34. ;--------------------------------------------------------------------------- 
  35. ;
  36. ;   PER class - Periodic
  37. ;
  38. ;--------------------------------------------------------------------------- 
  39. PErD            ,echo This is a daily comment!
  40.  
  41. Perw            ,echo You'll see me at the start of each week!
  42. PERW0           ,echo I'm weekly starting Sunday...
  43. PERW1           ,echo I'm weekly starting Monday...
  44. pERW2           ,echo I'm weekly starting Tuesday...
  45. PERW3           ,echo I'm weekly starting Wednesday...
  46. perw4           ,echo I'm weekly starting Thursday...
  47. PErw5           ,echo I'm weekly starting Friday...
  48. perw6           ,echo I'm weekly starting Saturday...
  49.  
  50. PERM            ,echo Default monthly.
  51. PERM5           ,echo This is on or after the 5th, isn't it?
  52. PeRM20          ,echo It is now past the twentieth of the month.  Time to pay bills!
  53.  
  54. PERY            ,echo I do things at the beginning of the year.
  55. PERY3/30        ,echo I make sure that you remember that March 30th has passed.
  56. PERY12/31       ,echo Another year down the drain...
  57. PERY01/01       ,echo This is the 1st of 4 executions per year.
  58. PERY04/01       ,echo This is the 2nd of 4 executions per year.
  59. PERY07/01       ,echo This is the 3rd of 4 executions per year.
  60. PERY10/01       ,echo This is the 4th of 4 executions per year.
  61. PERY1/1         ,echo Welcome to January.
  62. PERY2/1         ,echo Welcome to February.
  63. PERY3/1         ,echo Welcome to March.
  64. PERY4/1         ,echo Welcome to April.
  65. PERY5/1         ,echo Welcome to May.
  66. PERY6/1         ,echo Welcome to June.
  67. PERY7/1         ,echo Welcome to July.
  68. PERY8/1         ,echo Welcome to August.
  69. PERY9/1         ,echo Welcome to September.
  70. PERY10/1        ,echo Welcome to October.
  71. PERY11/1        ,echo Welcome to November.
  72. PERY12/1        ,echo Welcome to December.
  73.  
  74.  
  75. ;---------------------------------------------------------------------------
  76. ;
  77. ;   DOP class - Day of Period
  78. ;
  79. ;--------------------------------------------------------------------------- 
  80. DOPW2           ,echo Today is Tuesday
  81. DOPW3           ,echo Today is Wednesday
  82. DOPW0           ,echo Today is Sunday
  83. DOPW1           ,echo Today is Monday
  84. DOPW4           ,echo Today is Thursday
  85. DOPW6           ,echo Today is Saturday
  86. DOPW5           ,echo Today is Friday
  87. DOPW135         ,echo Today is either Monday, Wednesday, or Friday
  88. DOPW0246        ,echo Today is either Sunday, Tuesday, Thursday, or Saturday
  89.  
  90. DOPM1           ,echo Today is the 1st of the month
  91. DOPM1 5 10      ,echo Today is either the 1st, 5th, or 10th of the month.
  92. DOPM20 31       ,echo Today is either the 20th or the last day of the month.
  93. DOPM29          ,echo Today is the 29th (or last day if it's February).
  94. DOPm28          ,echo Today is the 28th.
  95. dopm30          ,echo Today is the 30th, (or the last day if it's February).
  96. DopM31          ,echo Today is the last day in the month.
  97.  
  98. DOPY1/1         ,echo Happy new year!
  99. dopY3/30        ,echo Today is March 30th!
  100. DoPY12/25       ,echo Merry Christmas!
  101. dopy12/30       ,echo Almost New Year's Eve!
  102. dopy12/31       ,echo Are you ready for the New Year?  (It's less than 24 hours away!)
  103.  
  104. ;--------------------------------------------------------------------------- 
  105. ; End of file
  106. ;--------------------------------------------------------------------------- 
  107.  
  108.