Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-763

Default cron expression for database update is invalid

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.0.2
    • Component/s: Web Interface
    • Labels:
      None

      Description

      The default cron expression on the Database page is "0 0 * * ?" which is invalid.

      When adding a managed repository, the log shows:
      2008-04-02 22:48:29,346 [btpool0-2] WARN org.apache.maven.archiva.scheduled.ArchivaTaskScheduler:default - Cron expression [0 0 * * ?] for database update is invalid. Defaulting to hourly.

      If you click 'Update cron' on the Databases page, there is no validation error (but the same log message appears.)

      I think it should be [0 0 * * * ?] instead.

        Attachments

          Activity

            People

            • Assignee:
              brettporter Brett Porter
              Reporter:
              wsmoak Wendy Smoak
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: