I just wanted to share that AutoSys 12.0+ also now supports creating jobs via its REST API.
Original Message:
Sent: Aug 21, 2023 08:41 AM
From: P Verghese
Subject: Is an Autosys job can schedule by triggering another Autosys job once trigged through API from another application ?
Hi @Kuntal Sadhu,
The short answer is Yes.
a) You can create a job via code. It just needs to be in jil format in a file, which AutoSys understands. You may use your favorite scripting language to create one.
b) Use the command jil < file to load the job defn
c) If the job defn already has a date condition defined, then the job will run at the next available time/date as per the date/time definition
d) If it is a adhoc job/jobflow, then you can start the job manually using AutoSys command sendevent (on AutoSys server/client) or via AutoSys Web Services (remotely)
For more details please refer the product docs or your local AutoSys experts.
Regards
P Verghese
Original Message:
Sent: Aug 17, 2023 02:36 AM
From: Kuntal Sadhu
Subject: Is an Autosys job can schedule by triggering another Autosys job once trigged through API from another application ?
I have outline a plan and I need your help if this is possible? One of the customer ask is to schedule a job in Autosys once a Change task approved in Service Now . Current process is to manually updates to the scheduling databases per documented user requests in ServiceNow change records.
I am an Automic professional and based on my Automic experience I have outline below plan.
My plan:
- Create/Develop an autosys job called 'scheduler job' which will schedule the jobs based on certain inputs like Jobname, Time, calendar etc which may be coming from ServiceNow.
- Once change approved in ServiceNow , ServiceNow will trigger Scheduler Job through API in Autosys and schedule a new job with the parameter passed by ServiceNow.
I am not sure if an Autosys job can schedule another job based on inputs.
Is it possible to code a job which can schedule other jobs?
Please let me know if it is possible and How?
------------------------------
Kuntal Sadhu
Wipro Ltd.
------------------------------