Uploaded image for project: 'FreePBX'
  1. FreePBX
  2. FREEPBX-15099

Spurious mail messages generated by Time Conditions module

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Accepted
    • Affects Version/s: 13
    • Fix Version/s: None
    • Component/s: Time Conditions
    • Labels:
      None
    • ToDo:
    • Distro Version:
      10.13.66-20
    • Distro:
      FreePBX Distro

      Description

      The script /var/lib/asterisk/bin/schedtc.php fails ungracefully if Asterisk is not running.

      The above script is ran every every minute by cron. On boot, cron starts pretty early in the system, and is extremely likely there will be one or two runs that fail before Asterisk is fully up and running.

      Cron notifies of the failed attempt sending an email from root to the owner of the cron job, asterisk.

      Depending on the mail server configuration in FreePBX, the mail can remain stale in the local maildir for the "asterisk" user, or be sent to "asterisk@<pbx_domain>" from "root@<pbx_domain>".

      Schedtc.php should fail gracefully if asterisk is not running, or the cron job should be only enabled after Asterisk has started.

       

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  corradomella Corrado Mella
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    NextupJiraPlusStatus

                    Error rendering 'slack.nextup.jira:nextup-jira-plus-status'. Please contact your Jira administrators.