I have timer schedule "when published". According to me it will go for the 1st option, please correct me.
1] Will be execute every time publish
2] Executed by Scheduler Service
Which one is more precise and why?
Hi Pradip,
They're both true. Timers are always run by the Scheduler Service (for details see my article here). "When published" means indeed that every time you publish a module containing the timer, the timer will run. Additionally (not mentioned in my article), if you create a new tennant in a multi-tennant application, all "When published" timers will run after creating the new tennant.
Hi @Kilian Hekhuis - Thanks for your valuable reply, I went through your article. It's deep and good to understand all about the timer.
But can you please let me know the more convenient option from above 2.
I'm not sure what you mean by "the more convenient option". You asked which of the two options ("executed every time when published" and "executed by the Scheduler Service") was true, and they are both true, as I wrote. Or do you mean something else?
Reinforcing Kilian's response, both options are true.
Timers are always executed by the platform's Scheduler Service. "When Published" is one of the Schedule options available when creating a Timer.
Thank you.
Best regards,
Paulo Moreira
Thanks to both of you @Kilian Hekhuis, @Paulo Moreira ma to be more sure & clear this timer topic.
You're most welcome. Please mark the answers that helped you as Solution (you can mark more than one). Thanks!