TWS is Tivoli Workload Scheduler.
I have scheduled a job, and made it repeatable every 10 minutes. I put it in a job stream with a run cycle of daily.
Now, the job runs once every ten minutes on the first day, twice on the second day and so on.
What is the correct way to schedule a job in TWS to run many times every day?
Is there anything wrong with this job definition:
Workstation Job Stream Name Valid From Updated On Locked By
---------------- ---------------- ---------- ---------- ----------------
VMWSOAAPP01-TST PDSSITRNS_INTG_H - 01/17/2012 -
SCHEDULE MACHINE01-TST#JOBSTREAM
DESCRIPTION "SomeTransfer.sh param1"
ON RUNCYCLE RC1 DESCRIPTION "Daily every hour" "FREQ=DAILY;INTERVAL=1"
KEYSCHED
:
MACHINE01-TST#JOBNAME
SCRIPTNAME "/shared/app/app2/fds/bin/TWS/SomeTransfer.sh param1"
STREAMLOGON auser
TASKTYPE UNIX
RECOVERY STOP
AT 0645 UNTIL 0545 +1 DAYS
EVERY 0010
KEYJOB
END
If you use TWS/d,
you add your job into a jobstream.
right click at the job
select properties
select time restrictions
select repeat range ( from hh:mm to hh:mm and how often )
Then you also have to define which days in week / month / year the job shoudl run
click at the "run cycle" icon
click at the "add run cycle" icon
select which days the job should run
Save job stream
I had a similar need. This worked for me: