I have a need to create certain data upon first startup of a new instance of our application. Some of this will be certain Quartz jobs.
I see that there is a JobModel
entity class but using DataManager
to query (via .all()
) returns nothing, so I have to assume using DataManager
is not the way.
I also see that there is a QuartzService
with a getAllJobs()
method which does return all the jobs.
But I’m not sure how to CREATE a job programatically.
Has anyone done this? Any pointers?