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
You can set several timers in your process with no problem...
About having the details in the DDBB, the only way to achieve this is with a timer condition where you execute a ER that checks the time in DDBB, and executes the timer if the condition is met.
And just to confirm, we need to check the time in DB with the system time using now() function, correct?
It depends on your implementation... but yes... now() function is an option...