You are viewing an old version of this page. View the current version.

    Compare with Current View Page History

    « Previous Version 11 Current »

    Jobs can be set up to automatically e-mail the job's owner when the job has completed. This is enabled on a per-job basis. It is also possible to send e-mail to any other address. This is specified in the job's address field. Emails are sent from the Supervisor, so it must have that ability enabled.

    Configuration

    Email is configured via variables in the qb.conf file, specifically:

    VariableControls
    mail_administratorThe mail user account to which the Supervisor will send email in the event of critical system events
    mail_domainThe domain name the Supervisor will append to the user's name if the user hasn't provided a full email address to use
    mail_fromThe mail user name or address that the Supervisor will use in the "From" field of notification email that it sends
    mail_hostThe SMTP server to use to send email through
    mail_job_status_formatA file that defines the format to use when sending job status to a user via email
    mail_license_status_formatA file that defines the format to use when sending warnings about expiring licenses
    mail_portThe port number to use on the SMTP server
    mail_subjob_status_formatA file containing the format to use when sending subjob status to a user via email
    mail_work_status_formatA file containing the format to use when sending work status to a user via email

    Command-Line Examples

    It is also possible to specify email recipients from the command line:

    CommandMeaning
    % qbsub --flags mail lsE-mail job owner when the job is done.
    % qbsub --flags mail --address anon@server.com lsEmail a specific address

    See Also

    mail_administrator
    mail_domain
    mail_from
    mail_host
    mail_job_status_format
    mail_license_status_format
    mail_port
    mail_subjob_status_format
    mail_work_status_format

     

     

    • No labels