Skip to content

v1.1.0

Latest
Compare
Choose a tag to compare
@vtsykun vtsykun released this 21 Aug 22:09
· 7 commits to master since this release

v1.1.0

  • Support schedule tasks with one-millisecond precision
  • Added AsPeriodicTask attribute
  • Added jitter options
  • Allow to use cron bundle together with ReactPHP EventLoop
  • Added --dry-run options to okvpn:cron command. Show more logs with -vvv option

Example usage:

#[AsPeriodicTask('30 seconds', jitter: 5)]
class Task4Handler {}

#[AsPeriodicTask('1 day')]
class Task4Handler {}

#[AsCron('@random 3600')]
class Task4Handler {}

#[AsCron('*/5 * * * *', jitter: 60)]
class Task4Handler {}