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 tookvpn: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 {}