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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

how to execute a service at a fix time everyday

fliu1
1-Visitor

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
12-Amethyst
(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.

fliu1
1-Visitor
(To:ankigupta)

Thanks for your help,your answer solved my problem

ankigupta
12-Amethyst
(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


Top Tags