I have a requirement where the processes are scheduled within a range of 12 hours, let's say 3 PM to 3 AM, with a time gap of 1 hour. So my batch process should start at 3 PM but after first instance it should be triggered after every 1 hour till 3 AM. Is there any way we can achieve this using Timer event?
Also, I am recording the scheduled date and time in the database. Is it possible to directly get that time and start the process with it?
Any ideas how we can achieve this?
Discussion posts and replies are publicly visible
I would use the following config on timer to fire it every hour
And to stop the process getting triggered outside the 12 hour window I would add an expression which would return false if current time is outside my window
contains( { "03:00 PM", "04:00 PM", "....", "03:00 AM" }, text(now(), "HH:mm aa") )