AnsweredAssumed Answered

Schedule job programatically

Question asked by jakub_kolacek on Oct 10, 2018


is it possible to programatically create a job that starts periodically? I have a Spring based project that uses the activiti-rest and activiti-app-conf dependencies and I want to schedule job that'll run every (lets say) hour (ie to import some data).

So far I've found that I can get informations about existing jobs using the ManagementService but I haven't found how to create one.
I know I can use Spring (or other) scheduler but since the activiti already (apparently) has this functionality it'd be great if I could use this.


Thanks for any help.