Hi Automic Community (specifically the AM community)!
I have a request to run a process flow that contains 4 components with the following requirements:
- Job is to run every 30 minutes, everyday from 12:00 to 08:00 the next day.
- On the 1st of every month the job should stop running at 04:30 instead of 08:00.
- Then start again at 12:00 on the 1st and run until 08:00 on the 2nd of the month, and continue until the cycle repeats for the next month.
My initial thought was that I could create 2 schedules in the job. One for the regular schedule, 12:00 to 08:00 everyday, and one for the special first day early stop request, 12:00 to 04:30. Since both schedules need to run on all the days, I don't think I can use a skip calendar on either of the schedules, to skip the last or first days of the month.
My other thought was to use the exception list somehow in the schedules to stop the regular schedule early on the first of every month. Since this setup is for 700+ process flows, I don't think this solution would be very feasible having to update the schedules in each flow, for each month.
The only thought I have would be to have a condition on the process flow to check the current date and time and tell the job to cancel if it is between 04:31 and 07:59 on the first of the month. Unless I am missing something, I don't think it is possible to setup a condition to say "if it is between a certain time, on the first of each month, don't run".
Any thoughts from anyone on how they would setup the schedule for these process flows in AM?