Search code examples
artifactory

Artifactory: what is the cron expression syntax?


I've created a remote repository and I'd like to enable the Activate Replication of the repository, but for some reason I don't get the cron expression validated.

If I input 5 4 * * *, there'll be an error The cron expression is invalid.

enter image description here

I've read https://www.jfrog.com/confluence/display/JFROG/CronTrigger

Does somebody know what's going on? Thanks!


Solution

  • You can see references in the CronTrigger Tutorial.

    For example, the 0 0 12 * * ? expression will fire at 12pm (noon) every day.