-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #135 from stephenmcm/fix-defaultjobs
Fix(defaultJobs) config now loads correctly. Add SS_Log of missing jo…
- Loading branch information
Showing
2 changed files
with
31 additions
and
27 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -172,30 +172,31 @@ Default jobs are defined in yml config the sample below covers the options and e | |
``` | ||
Injector: | ||
QueuedJobService: | ||
defaultJobs: | ||
# This key is used as the title for error logs and alert emails | ||
ArbitraryName: | ||
# The job type should be the class name of a job REQUIRED | ||
type: 'ScheduledExternalImportJob' | ||
# This plus the job type is used to create the SQL query REQUIRED | ||
filter: | ||
# 1 or more Fieldname: 'value' sets that will be queried on REQUIRED | ||
# These can be valid ORM filter | ||
JobTitle: 'Scheduled import from Services' | ||
# Sets whether the job will be recreated or not OPTIONAL | ||
recreate: 1 | ||
# Set the email address to send the alert to if not set site admin email is used OPTIONAL | ||
email: '[email protected]' | ||
# Parameters set on the recreated object OPTIONAL | ||
construct: | ||
# 1 or more Fieldname: 'value' sets be passed to the constructor OPTIONAL | ||
repeat: 300 | ||
title: 'Scheduled import from Services' | ||
# Minimal implementation will send alerts but not recreate | ||
AnotherTitle: | ||
type: 'AJob' | ||
filter: | ||
JobTitle: 'A job' | ||
properties: | ||
defaultJobs: | ||
# This key is used as the title for error logs and alert emails | ||
ArbitraryName: | ||
# The job type should be the class name of a job REQUIRED | ||
type: 'ScheduledExternalImportJob' | ||
# This plus the job type is used to create the SQL query REQUIRED | ||
filter: | ||
# 1 or more Fieldname: 'value' sets that will be queried on REQUIRED | ||
# These can be valid ORM filter | ||
JobTitle: 'Scheduled import from Services' | ||
# Sets whether the job will be recreated or not OPTIONAL | ||
recreate: 1 | ||
# Set the email address to send the alert to if not set site admin email is used OPTIONAL | ||
email: '[email protected]' | ||
# Parameters set on the recreated object OPTIONAL | ||
construct: | ||
# 1 or more Fieldname: 'value' sets be passed to the constructor OPTIONAL | ||
repeat: 300 | ||
title: 'Scheduled import from Services' | ||
# Minimal implementation will send alerts but not recreate | ||
AnotherTitle: | ||
type: 'AJob' | ||
filter: | ||
JobTitle: 'A job' | ||
``` | ||
## Configuring the CleanupJob | ||
|
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