Skip to main content
Mar 23, 2019 1:42 PM UTC
Solved

How to run a daemon job in ThingWorx ?

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

Mar 25, 2019 7:49 AM UTC

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

1 reply

Mar 25, 2019 7:49 AM UTC

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