Automic Workload Automation

 View Only
  • 1.  Query about scheduling a job dynamically

    Posted May 25, 2018 11:10 AM

    Hi All,

     

     

    We would like to set-up a job to execute as mention below -

     

    The main job should run every hour. As contingency, we want to explore the option of dynamic run.
    a. Next instance should start as soon as last instance is Finished.
    b. If next 2 instances didn’t find a file in the folder, the job will not start 3rd instance, and the next run will happen on schedule (11am CST for e.g.) as per the hourly manner.

     

    Please let us know if could it be achieved once?

     

    Thanks,
    Bhaskar



  • 2.  Re: Query about scheduling a job dynamically

    Posted May 25, 2018 02:27 PM

    Hi

     

    what do you mean by As contingency, we want to explore the option of dynamic run. ??

     

    and by a. Next instance should start as soon as last instance is Finished.??

     

    cheers, Wolfgang



  • 3.  Re: Query about scheduling a job dynamically

    Posted May 25, 2018 04:21 PM

    One solution we have applied works like this;

     

    Start the workflow once every hour --

       First task checks for a file to process.  If there is no file to process, then stop.

       Otherwise, run the workflow, and the last step kicks off another instance of the same workflow.