Rahul Kumar Singh
Rahul Kumar Singh

Reputation: 117

How to force start Control M jobs using Unix Script

I am able to Force Start jobs in Autosys using shell script but for Control M I am not finding any shell script command to Force start jobs.

Any Command we have to force start Control Job?

Upvotes: 0

Views: 1363

Answers (1)

dw3phCnR
dw3phCnR

Reputation: 31

You can use:

ctmcreate

It create the job on the fly

If you have access to the Control-M API you can do:

ctm run job::runNow "server-test:000fp"

Also, you can set your Job for "Confirmation" and confirm it when you want using this command:

ctmpsm -UPDATEAJF <orderid> <HOLD|FREE|DELETE|UNDELETE|RERUN|CONFIRM|SETTOOK|STATISTICS|CONDADDIN <cond> <date> <AND|OR>|CONDADDOUT <cond> <date> <+|->|CONDDELIN <cond>|CONDDELOUT <cond>

Upvotes: 2

Related Questions