cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

how to execute a service at a fix time everyday

Level 1

how to execute a service at a fix time everyday

I want to execute a service at 10 am or 6pm everyday,is there any way to realize it?

3 REPLIES 3

Re: how to execute a service at a fix time everyday

Hi Fen Liu​, This can be done by using Scheduler ThingTemplate. Just create a thing using this ThingTemplate. Configure the time to fire event using schedule setting in Configuration.

Now you can subscribe to this event and call your service in the Subscription code to run it when the this event is fired.

Another option could be use timer events.

Re: how to execute a service at a fix time everyday

Thanks for your help,your answer solved my problem

Re: how to execute a service at a fix time everyday

Fen Liu​​, That's great. Could you please mark the answer as correct so that other people know this thread has a solution.