Skip to content

2.1.1

Latest
Compare
Choose a tag to compare
@reg2005 reg2005 released this 24 Oct 22:35
  • Changed lock files destination to {appFolder}/tmp/adonis5-scheduler/lock
  • Upgraded node-scheduler package
  • Added CronTimeV2 class for friendly cron-like strings generation
  • Bug fix #31 #19 #18
  import { BaseTask, CronTimeV2 } from 'adonis5-scheduler/build/src/Scheduler/Task'
  ...
  public static get schedule() {
    // Use CronTimeV2 generator:
    return CronTimeV2.everySecond()
    // or just use return cron-style string (simple cron editor: crontab.guru)
  }

Full Changelog: 2.0.3...2.1.1