Skip to main content
17-Peridot
March 23, 2019
Solved

How to run a daemon job in ThingWorx ?

  • March 23, 2019
  • 1 reply
  • 900 views

Hi , 

I would allow the end user to set a maximum time for the data you would stored , for example, for the data retrieved from devices , the use only need to keep them for  6 months.   

 

the questions are: 

1. How to develop a daemon job which scan the data older than 6 months and then delete them ?

2. How and When to trigger the job ? 

 

Regards,

Sean

Best answer by CarlesColl

You should create a Timer or Scheduler (base ThingTemplate) Thing and subscribe to the corresponding event.

1 reply

1-Visitor
March 25, 2019

You should create a Timer or Scheduler (base ThingTemplate) Thing and subscribe to the corresponding event.