Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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
share|improve this question
    
looks like you have a carryforward issue: this schedule seems not to be carryforwarded but you see jobs pilling up? what is the output of optman ls | grep carryforward ? –  fanthore Apr 26 '13 at 23:08
add comment

1 Answer

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.