Skip to main content
1-Visitor
July 7, 2016
Question

Scheduler Thing with Java Code

  • July 7, 2016
  • 1 reply
  • 2779 views

Hi Friends,

I would like to know how we can plugin a Java Code with Thing Scheduler.

Basically I want to execute a Java Code Snippet when the scheduler is invoked.

Any help in this topic is highly appreciated.

Thanks.

1 reply

1-Visitor
July 7, 2016

You could package the Java code up as a Thingworx Extension (as per the Marketplace) and then import it into Thingworx and call  its methods via a scheduler

ses1-VisitorAuthor
1-Visitor
July 11, 2016

Thanks Graham Allan. It really helped me. Many thanks...

ses1-VisitorAuthor
1-Visitor
July 11, 2016

Hi Graham,

I was able to configure the scheduler and assign a service to trigger.

My cron job was to execute in every 10 mins.

But it seems it is not triggered, How can we check if it works or any errors.

No traces are found in ApplicationLog file.

Any tricks?