home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Media Share 9
/
MEDIASHARE_09.ISO
/
business
/
cron092.zip
/
CRONTAB
< prev
next >
Wrap
Text File
|
1993-01-01
|
4KB
|
61 lines
#┌────────────────────────────────────────────────────────────────────────────┐
#│ This file is an example crontab file, for use with cron. The columns are │
#│ described as follows: │
#│ │
#│ Minute: 0-59 Day: 1-31 Day of week: 0-6 (0=Sunday, 6 = Saturday) │
#│ Hours: 0-23 Month: 1-12 │
#│ │
#│ Command: program to run, surrounded by double quotes (") - note that the │
#│ full path name should be used. │
#│ Args: arguments to pass to the previous program │
#│ Options: see Changes.doc │
#│ │
#│ Any of fields 1 through 5 can be a list of values separated by │
#│ commas. A value can either be a number, or a pair of numbers │
#│ separated by a hyphen, indicating that the job is to be done for all │
#│ the times in the specified range. If a field is an asterisk (*) it │
#│ means that the job is done for all possible values of the field. │
#│ │
#│ All fields for one entry *must* appear on a single line. │
#│ │
#│ Note: the specification of days may be made by two fields (day of │
#│ the month and day of the week). If both are specified as a │
#│ list of elements, both are adhered to. For example, │
#│ │
#│ 0 0 1,15 * 1 │
#│ │
#│ would run a command on the first and fifteenth of each month │
#│ (at 00:00), as well as on every Monday. To specify days by │
#│ only one field, the other field should be set to *. For │
#│ example, │
#│ │
#│ 0 0 * * 1 │
#│ │
#│ would run a command only on Monday's (at 00:00). │
#└────────────────────────────────────────────────────────────────────────────┘
#┌────────────────────────────────────────────────────────────────────────────┐
#│ Min Hour Day Mth Day of Wk. Command Args │
#└────────────────────────────────────────────────────────────────────────────┘
00 00 * * * "c:\os2\cmd.exe" "/C c:\bin\nightly.cmd";
00 00 * * 0 "c:\os2\cmd.exe" "/C c:\bin\weekly.cmd";
00 00 1 * * "c:\os2\cmd.exe" "/C c:\bin\monthly.cmd";
* * * * * "c:\os2\mdos\command.com" "c:\bin\test.bat"
title="This is a test session"
type=wvdm
control=vis&setpos
pos=(50,50,200,100);
#┌────────────────────────────────────────────────────────────────────────────┐
#│ NOTE: to run batch or command files, you should specify /C as the │
#│ first part of the argument string. This tells the command │
#│ processor to exit after completion of the program. If this is │
#│ *not* specified, the shell created to run the command file will │
#│ remain after the command file exits. │
#└────────────────────────────────────────────────────────────────────────────┘