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

Old cron entries not removed when editing backup schedule from GUI

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 15.0.17.52
    • Fix Version/s: None
    • Component/s: Backup & Restore
    • Labels:
      None
    • ToDo:
    • Distro Version:
      15.0.17.55
    • Distro:
      FreePBX Distro

      Description

      When editing an existing backup's schedule inside of the FreePBX GUI via Applications>Backup & Restore, upon saving, a new entry in the asterisk user crontab is written for the job (which is expected behavior), however, the old crontab entry for the original schedule (which existed before editing) is not removed.

      Basically, using the GUI to modify an existing backup job's schedule will create multiple entries in cron for the same backup job.

      Maybe if I had waited long enough a cleanup process would have removed the old entries, but this did persist between server reboots.  My resolution was that I manually removed the old lines from the crontab that no longer matched the current GUI backup schedule.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bdiggs Bradley Diggs
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  NextupJiraPlusStatus

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