[DOCU-299] Running scheduled jobs on a particular cluster node Created: 23/Jul/12 Updated: 04/Oct/12 Resolved: 24/Jul/12 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | content |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | New Feature | Priority: | Neutral |
| Reporter: | Antti Hietala | Assignee: | Gavan Stockdale |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Date of First Response: | |||||||||
| Description |
|
You can target scheduled jobs (tasks) to run on a particular cluster node. This avoids lockups occurring when two or more jobs try to access the same content. This feature has been available since Scheduler 1.4.4. Document the feature in the Scheduler module.
Example: Setting a cluster ID in magnolia.properties file. magnolia.clusterId=public123 Example: Setting a cluster ID in the job configuration. + modules
+ scheduler
+ config
+ jobs
+ ImportRSSFeeds
+ params
- clusterId = public123
- importer = rssaggregator
- active = true
- active = true
- catalog = data
- command = import
- cron = 0 0 6 * * *
- description = Update feeds every day at 6 a.m.
|
| Comments |
| Comment by Jan Haderka [ 08/Aug/12 ] |
|
Was this ever activated? I don't see anything mentioning cluster id in scheduler documentation. |
| Comment by Antti Hietala [ 08/Aug/12 ] |
|
Activated. http://documentation.magnolia-cms.com/modules/scheduler.html#Schedulingtasksonclusternodes |