Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hello,
I would like to apply manual CRON to Scheduler with below requirements.
this scheduler should run immediately or in 30 seconds - it's only for one time, once deployed it.
and then this scheduler should run periodically for every 6 hours.
Kindly let me know to achieve this requirement.
Thanks
Gopi
I don't know enough about CRON, but I would just trigger the first time based on the ThingStart and then set the CRON for every 6 hours.
Use something like: https://crontab.guru/
Hello PaiChung,
May I know on changing Subscription's event (inputs) from ThingStart to ScheduledEvent programmatically in Scheduler thing.
Thanks
Gopi
It can't really be done programmatically unfortunately.
There is something called 'Dynamic subscriptions' which you can create programmatically but it is effective only for that runtime, so if ThingWorx is restarted the Dynamic subscriptions will disappear and have to be re-created.
Hi @gvyakaranam.
If you feel that your question has been answered, please mark the appropriate response as the Accepted Solution for the benefit of others with the same question.
Regards.
--Sharon