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

fliu1
1-Newbie

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
ankigupta
5-Regular Member
(To:fliu1)

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.

Thanks for your help,your answer solved my problem

ankigupta
5-Regular Member
(To:fliu1)

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

Announcements