How to run agent at a specific times in a day. Such as 4:00,12:00,20:00 each day.
As per my project requirement we need to run the agent at specific time on each day say 04:00,12:00,20:00. As for the recurring schedule we can run the agent only once a day. Is there any way to achieve this. Other than duplicating the agent and run it at different times each day.
The cleanest way to do is scheduling the same agent activity multiple times with different times as you need.
If you still want to avoid the above approach, then you need to write custom Java code to schedule the agent at required times. Though we have achieved this customization at my site, I would not recommend this as it is not recommended approach.
For recurring schedule, You can specify the start time and then recurring interval then on. Looks like your requirements is to run an agent every 8 hours. You can use recurring schedule to achieve that.
If you have multiple nodes on the system, you can have agent starting on different times in those nodes.
Lets say if we want to put a start and end time within that time only the agent should run periodically!! with the current OOTB feature its not possible unless you put the code in the Agent Activity (in my opinion this will be easiest if you want only one activity to behave like this).
Nonetheless this is a valid scenario in any organization.
I think you can achieve this by using pattern as periodic and in interval can put 8 hrs (28800) and start your agent manually at 4:00 so that the next run will be 12:00 and next to next will 20:00 and then again 4:00 , 12:00 and 20:00 .