Uploaded image for project: 'JITL - JobScheduler Integrated Template Library'
  1. JITL - JobScheduler Integrated Template Library
  2. JITL-574

sos/sendMail job should create queued failed mail file with failed.sos. instead of ending with "~" sign

    XMLWordPrintable

Details

    • Feature
    • Status: Released (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.12, 1.13
    • 1.12.11, 1.13.2
    • None

    Description

      Current situation

      When using the class package sos.net.SOSMail to send an email (as e.g. the job soss.scheduler.managed.JobSchedulerManagedMailJob is doing}} and the email fails (e.g. wrong port) it creates sos.2019-09-24.133305.306.email~ in the configured mail directory .

      How to reproduce

      • Create a sample sos.scheduler.managed.JobSchedulerManagedMailJob to send an email. 
      • Then change the SMTP mail host in the factory.ini
      • restart the JobScheduler master
      • Then start the mail job from JOC-Cockpit
      • Then you can find files in the mail directory ./jobscheduler/jobscheduler_id/mail with "~" sign
        sos.2019-09-24.133305.306.email~

      Desired Behavior

      Instead of creating the file sos...email~ the file failed.sos.....email should be created. If so the job sos.scheduler.job.JobSchedulerDequeueMailJob can handle this file and try to resend it

      Patch available

      Attachments

        Activity

          People

            ur Uwe Risse
            Aditi-Dubey Aditi Dubey (Inactive)
            Aditi Dubey Aditi Dubey (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: