Scheduling an AutoSys job to run more frequently than one minute
search cancel

Scheduling an AutoSys job to run more frequently than one minute

book

Article ID: 377592

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

AutoSys appears to allow the lowest scheduled interval for running a job to be one minute, but a customer wants the job to run every 12 seconds.

 

Resolution

The minimum setting for the start_times or start_mins or calendar times are minutes, not seconds.

If someone needed a job to run more frequently (like every 12 seconds) then they could try something like the following:

Have the job run based on the success of itself and the first thing in the user's script they would include a sleep for 12 seconds.

Or create a secondary job that runs a sleep 12.
Have the first job run based on the based on the success of the second job.
And have the second job run based on the success of first job.

NOTE - 

Gather more information from the user about the jobs and if it requires separate executions so often.
Something like that might negatively impact performance for AutoSys or for the 
agent machine(s), if something is basically spinning running one or more jobs some 7200 times per day.