Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-2890

JobShell delete all locks

    XMLWordPrintable

Details

    Description

      It is convenient if JobShell can delete all locks with a single command. This is useful, for example, when a container using cron is running jobShell processes and exits (via SIGTERM) to make sure that all locks are removed.

      The design proposal here is to allow the syntax

      ./Console/cake Job -U all

      to then invoke

      return $this->deleteAll('TRUE');

      on the Lock model.

      Here 'TRUE' is an SQL fragment that is understood with the WHERE clause by both MySQl and PostgreSQL.

      Attachments

        Activity

          People

            shayna.atkinson@at.internet2.edu Shayna Atkinson
            scott.koranda@at.internet2.edu Scott Koranda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: