Last active
December 25, 2015 07:48
-
-
Save jgoldhammer/6941374 to your computer and use it in GitHub Desktop.
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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