The Grouper Daemon is a process that can handle many tasks. In Grouper v2.4+, all daemon jobs are visible in the Grouper UI.
In v2.3+, the daemon is pre-configured to use a database to store job schedules instead of storing them locally in memory.
You can also use the daemon to schedule any custom jobs that you may have. To do so, add the following configuration in grouper-loader.properties:
################################ ## Other jobs ## ## Configure other jobs. ## "jobName" is the name of your job. ## Class must implement org.quartz.Job. ## Priority is optional ################################ # otherJob.jobName.class = # otherJob.jobName.quartzCron = # otherJob.jobName.priority = |
Starting in v2.5+: run the Grouper container with the "deamon" argument or the appropriate env vars set (see v2.5 container documentation)
Starting (command line, not needed in v2.5):
gsh.sh -loader |
Starting in Unix (command line, not needed in v2.5):
nohup gsh,sh -loader & |
Stopping: find the process and kill it
See this document to have a unix service which controls the loader
Note: it is also possible to run the loader in another webapp if you like
The long-term roadmap is to have the ability to run the loader in a web services instance or UI instance
See Also
For Grouper v2.5+ see this page on Daemon configuration.
For Grouper Daemon configuration options, see the Daemon section of the Grouper API page.
For info on pruning Daemon logs, see Ongoing Maintenance Tasks