MJobs properties
This section gives an overview of the MJobs properties.
server.name
Refers to the name of the server on which Match Jobs is deployed.
email.sender.defaultSender
Determines the FROM e-mail address when report emails are sent.
email.sender.enabled
Determines whether sending of email reports is enabled. If this setting is disabled, then reports will be only generated and stored in the “reports.path” directory.
The rest of the email configuration settings are similar to the ones of Match Security Manager. The main difference is just the naming of the properties. So, for more explanation, refer to the previous section.
job.xxx.enabled
This property enables the execution of a particular job. Possible values are {true, false}.
job.xxx.cron
This property determines when a job (if enabled) will be executed.
The format should be: S MM HH ? * DAYS *
The following example with execute job “xxx” every working day at 15.40 PM.
0 40 15 ? * MON,TUE,WED,THU,FRI *
DAYS should be a comma-separated list of the 3-letter abbreviation of the days of the week in English. Make sure there aren’t extra spaces between the days.
job.xxx.emailTo
This property defines the e-mail recipients of the report produced by this job
The recipients’ list should be semi-colon separated. For example:
support@knowledge-values.com;reporting@knowledge-values.com
job.xxx.emailSubject
This property defines the subject of the email for job “xxx”.
job.xxx.emailContent
This property defines the content of the email for job “xxx”.
job.xxx.emailContent.isHtml
This property defines if the content of an email is using HTML tags. Possible values {true, false}.
Set to “true” if you want to have a somewhat prettier formatting.
job.xxx.sql
This property defines the database query that will be executing for generating the report for job “xxx”
email.sender.overrideRecipient
This property makes it possible to override the recipient for all emails without having to modify the “emailTo” for each cron job. Useful when testing the application.