Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents
outlinh1. true
outlinh1. true
1printablefalse
2stylh1. none
3indent20px

Info
titlepage under construction

revision required.

e-mail addresses can be configured at job level as well.

 

The from-address The "from address", which is used by JobScheduler if an Ee-mail is to be sent is specified in the configuration.
This address is used in general for all e-mails.

...

The address itself can be a string constant or can be defined by job- or order-parameters used in the job.

Example

The job used as an example will execute a short shell script and then exit with exit-code 5.
The coding used in the "pre-processing" routine "spooler_process_before" modifies the "from address" to "ab@xyz-dom.com" for this job. The modification is only effective for this job.

Code Block
    <job name="job8">
        <script language="shell">
        <![CDATA[
        echo process
        exit 5
                ]]>
        </script>
    <monitor name="process0"
                 ordering="0">
        < script language="javascript">
            <![CDATA[
                function spooler_process_before() {
                    spooler_log.mail.from = "ab@xyz-dom.com";
                    spooler_log.info('some log entry ....');
                    return true;
                }
                ]]>
    </script>
      </monitor>
      <run_time/>
    </job>

related downloads

n.a.

see also

...