Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
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
Solved! Go to Solution.
You should create a Timer or Scheduler (base ThingTemplate) Thing and subscribe to the corresponding event.
You should create a Timer or Scheduler (base ThingTemplate) Thing and subscribe to the corresponding event.