Enonic Market Enonic Market
Cron Library icon

Cron Library

Use Cron library to schedule tasks and execute them in background threads

Releases

  1. 1.1.1

    • Fixed class loader issue
    • Compatibility:
      • 7.0.0
  2. 1.1.0

    • Implemented thread safety
    • Fixed possibility of conflicting schedules
    • Introduced `fixedDelay` and `delay` options for `schedule()` function
    • Introduced `nextExecTime` for `get()` function
    • Compatibility:
      • 7.0.0
  3. 1.0.0

    • Initial release
    • Compatibility:
      • 7.0.0

Download Cron Library

An XP library is normally included in your application through the Gradle build script like this:

dependencies {
    include 'com.enonic.lib:lib-cron:1.1.1'
}

Download the source code for Cron Library

Documentation for Cron Library