Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Start a job via the jobs root object. You have to get the job first by its name and than can run the job. This action executes the "executeNow" function of the job Mbean in the jmx interface.
print(jobs.listJobs());
var job = jobs.getJob('tempFileCleanerTrigger');
job.run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment