home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
job201.zip
/
JOBBER2.DOC
< prev
Wrap
Text File
|
1994-07-22
|
3KB
|
70 lines
┌────────────────────────────────────────────────────────────────────────────┐
│ JOBBER v2.01 by Oliver R.Bell (c) Anglopean Limited 1994 │
└────────────────────────────────────────────────────────────────────────────┘
JOBBER2 is a continuation of a program that we originally wrote in TPascal
under MS-DOS. REXX appears to be the easiest way to implement similar
functionality under OS/2.
In the future, time permiting, we may put a little more time aside to improve
the user interface but at the moment this is low priority.
The program has two main tasks:
1) Execute commands based on the time and day.
2) Execute commands based on a physical flag file on the disk.
A brief look at the enclosed JOBBER2.DAT file should be enough to get you
started.
The layout of the file is:
COMMAND_TO_EXECUTE,AT_TIME,OR_ON_FLAG,ON_DAYS
i.e. to execute the command C:\CMDS\DIRSYNC.CMD at 14:00 on Mondays,
Wednesdays and Fridays, or if the flag C:\CMDS\DIRSYNC.FLG comes into
existance your entry would read.
C:\CMDS\DIRSYNC.CMD,14:00,C:\CMDS\DIRSYNC.FLG,024
The days are allocated on the basis of 0=Monday, 1=Tuesday, etc.
The flag file will cause the job to execute regardless of the day of the week.
There is no defined limit to the number of tasks that you can lay down
for Jobber2 to perform.
JOBBER2 expects a directory called C:\JOBBER to exist, this gives it a
location to write an audit trail to.
NB: Midnight is a special time used internally in the code. It is important
that *NO* jobs are scheduled for this time.
The program itself is freeware. All we ask is that you mail us and let us
know what you are doing with it. Either send us a postcard from your home
town or use e-mail.
No guarantee of the functions and features of this program are either
expressed or implied, neither Anglopean Limited nor Oliver R.Bell will
take any responsibility for your use of the software.
If it breaks please feel free to either send both halves back to me, in
which case we will see if we can fix them, or drop both halves in the bin
and try and alternative product.
Bar that, have fun, we hope it helps you. If you need support please
contact us either via e-mail or snail mail at the address below.
Oliver R.Bell
Anglopean Limited
England
e-mail CIS : 100140,336
internet : 100140.336@compuserve.com
Smail : 51 Brooklands Road
: Burnley
: Lancashire
: England BB11 3PR