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
-
Number of attachments :
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.
tested and found this to work in a clean build. I believe this was fixed some time ago.
However, there were a number of test cases that had the wrong expressions, so they were updated.