Skip to main content
1-Visitor
January 28, 2020
Solved

Calling service a specific times throughout the day

  • January 28, 2020
  • 9 replies
  • 2648 views

Hello,

 

I am trying to call my service 'ResetSheetCount' on each hour throughout the day. (7,8,9,10,11,12, .etc). I am wondering what is the best route to go with this. To use a timer that calls my service every second (use JS to determine whether the time is correct to reset sheet count) or create 8 or 9 schedulers that will execute the service at the correct times. Any other suggestions would be great. 

 

Thanks 

Best answer by slangley

Hi @Chao123.

 

From an efficiency standpoint, running the scheduler every hour is the best solution.  Here is a link to the ThingWorx Help Center to provide more information.

 

Regards.

 

--Sharon

9 replies

slangleyCommunity ManagerAnswer
Support
January 28, 2020

Hi @Chao123.

 

From an efficiency standpoint, running the scheduler every hour is the best solution.  Here is a link to the ThingWorx Help Center to provide more information.

 

Regards.

 

--Sharon

Chao1231-VisitorAuthor
1-Visitor
January 28, 2020

This was my thought as well, however that route isn't going to run the service at those specific times.

Support
January 28, 2020

Hi @Chao123.

 

Perhaps I'm not fully understanding.  Can you explain why the suggestion will not work?

 

Regards.

 

--Sharon