Documentation/Scheduling/Manage Batch Schedules

From ScriptRunner
Jump to: navigation, search


Documentation :: Scheduling :: Managing Batch Schedules

Batch Schedules provide a means of grouping collections of scripts to run in a pre-defined order at a daily, weekly or monthly frequency. For more information on Batch Schedules, see Batch Schedules and Jobs .


Creating A Batch Schedule

  • From the menu, select Schedules > Batch Schedules > Manage Batch Schedules.
  • Click NewButton.png.
  • The Create Batch Schedule window should now be shown.

    CreateBatchSchedule.png

    • Schedule Name: A name to describe what your Batch Schedule will be doing. This name will be used to refer to the schedule in order screens in ScriptRunner.
    • Description: Space to provide a longer description of what this Batch Schedule is used for.
    • Day Of Week: The day of the week the Batch Schedule will run.
    • Day Of Month: The day of the month the Batch Schedule will run. Enter 0 for every day.
    • Enabled: Tick to allow Batch Schedule Jobs linked to this Batch Schedule being created and run. Unticking will prevent Batch Schedule Jobs being created. Those that have already been created as instances however will still be able to run.
  • Click SaveButton.png.



Editing Batch Schedules

  • From the menu, select Schedules > Batch Schedules > Manage Batch Schedules.
  • Click EditButton.png against the Batch Schedule you wish to update. Use Previous.png and Next.png to scroll through pages of groups if needed.
  • The Create Batch Schedule window should now be shown.

    EditBatchSchedule.png

    • Schedule Name: A name to describe what your Batch Schedule will be doing. This name will be used to refer to the schedule in order screens in ScriptRunner.
    • Description: Space to provide a longer description of what this Batch Schedule is used for.
    • Day Of Week: The day of the week the Batch Schedule will run.
    • Day Of Month: The day of the month the Batch Schedule will run. Enter 0 for every day.
    • Enabled: Tick to allow Batch Schedule Jobs linked to this Batch Schedule being created and run. Unticking will prevent Batch Schedule Jobs being created. Those that have already been created as instances however will still be able to run.
  • Click SaveButton.png.
  • Changes to the Batch Schedule will be now saved. Any Batch Instances already created from this schedule will not be modified, changes will only apply to future created Batch Instances from this schedule.



Removing Script Groups

  • From the menu, select Schedules > Batch Schedules > Manage Batch Schedules.
  • Click RemoveButton.png against the Batch Schedule you wish to remove. Use Previous.png and Next.png to scroll through pages of groups if needed.
  • Click RemoveConfirmButton.png on the confirmation prompt.

    RemoveBatchSchedule.png.
  • The Batch Schedule will now be removed. All Batch Schedule Jobs linked to this Batch Schedule will also be removed at the same time. Any Batch Instances created from this Batch Schedule though will remain and continue to run if there are outstanding jobs.