home *** CD-ROM | disk | FTP | other *** search
- ;---------------------------------------------------------------------------
- ;
- ; CRONTAB 2.x Data File
- ; CRONTAB Copyright 1989-1991, Thomas G. Harold, All Rights Reserved.
- ;
- ;---------------------------------------------------------------------------
- ; Remember, CRONTAB processes this file in sequential order.
- ; This is merely an example file to show how to use the commands.
- ; Spacing & capitalization is for clarity only.
- ; Blank lines & comments are useful for remembering what's going on.
- ; I recommend the following file names for batch files:
- ;
- ; (filename) (command)
- ; SUN,MON,TUE,WED,THU,FRI,SAT - DOPW0 thru DOPW6
- ; WEEKLY0 thru WEEKLY6 - PERW0 thru PERW6
- ; ALWAYS - AWS
- ; DAILY - PERD
- ; MONTHLY - PERM
- ;
-
-
- ;---------------------------------------------------------------------------
- ;
- ; AWS class - Always
- ;
- ;---------------------------------------------------------------------------
- AWS ,echo Hello world, I am always executed
- awS,echo in
- aWS ,echo in order
- AwS ,echo in order like
- aws ,echo in order like this!
-
-
- ;---------------------------------------------------------------------------
- ;
- ; PER class - Periodic
- ;
- ;---------------------------------------------------------------------------
- PErD ,echo This is a daily comment!
-
- Perw ,echo You'll see me at the start of each week!
- PERW0 ,echo I'm weekly starting Sunday...
- PERW1 ,echo I'm weekly starting Monday...
- pERW2 ,echo I'm weekly starting Tuesday...
- PERW3 ,echo I'm weekly starting Wednesday...
- perw4 ,echo I'm weekly starting Thursday...
- PErw5 ,echo I'm weekly starting Friday...
- perw6 ,echo I'm weekly starting Saturday...
-
- PERM ,echo Default monthly.
- PERM5 ,echo This is on or after the 5th, isn't it?
- PeRM20 ,echo It is now past the twentieth of the month. Time to pay bills!
-
- PERY ,echo I do things at the beginning of the year.
- PERY3/30 ,echo I make sure that you remember that March 30th has passed.
- PERY12/31 ,echo Another year down the drain...
- PERY01/01 ,echo This is the 1st of 4 executions per year.
- PERY04/01 ,echo This is the 2nd of 4 executions per year.
- PERY07/01 ,echo This is the 3rd of 4 executions per year.
- PERY10/01 ,echo This is the 4th of 4 executions per year.
- PERY1/1 ,echo Welcome to January.
- PERY2/1 ,echo Welcome to February.
- PERY3/1 ,echo Welcome to March.
- PERY4/1 ,echo Welcome to April.
- PERY5/1 ,echo Welcome to May.
- PERY6/1 ,echo Welcome to June.
- PERY7/1 ,echo Welcome to July.
- PERY8/1 ,echo Welcome to August.
- PERY9/1 ,echo Welcome to September.
- PERY10/1 ,echo Welcome to October.
- PERY11/1 ,echo Welcome to November.
- PERY12/1 ,echo Welcome to December.
-
-
- ;---------------------------------------------------------------------------
- ;
- ; DOP class - Day of Period
- ;
- ;---------------------------------------------------------------------------
- DOPW2 ,echo Today is Tuesday
- DOPW3 ,echo Today is Wednesday
- DOPW0 ,echo Today is Sunday
- DOPW1 ,echo Today is Monday
- DOPW4 ,echo Today is Thursday
- DOPW6 ,echo Today is Saturday
- DOPW5 ,echo Today is Friday
- DOPW135 ,echo Today is either Monday, Wednesday, or Friday
- DOPW0246 ,echo Today is either Sunday, Tuesday, Thursday, or Saturday
-
- DOPM1 ,echo Today is the 1st of the month
- DOPM1 5 10 ,echo Today is either the 1st, 5th, or 10th of the month.
- DOPM20 31 ,echo Today is either the 20th or the last day of the month.
- DOPM29 ,echo Today is the 29th (or last day if it's February).
- DOPm28 ,echo Today is the 28th.
- dopm30 ,echo Today is the 30th, (or the last day if it's February).
- DopM31 ,echo Today is the last day in the month.
-
- DOPY1/1 ,echo Happy new year!
- dopY3/30 ,echo Today is March 30th!
- DoPY12/25 ,echo Merry Christmas!
- dopy12/30 ,echo Almost New Year's Eve!
- dopy12/31 ,echo Are you ready for the New Year? (It's less than 24 hours away!)
-
- ;---------------------------------------------------------------------------
- ; End of file
- ;---------------------------------------------------------------------------
-
-