AzonMedia / guzaba2

Guzaba Framework v2
MIT License
2 stars 0 forks source link

Add scheduled tasks support by the way of Swoole\Timer #21

Open kenashkov opened 4 years ago

kenashkov commented 4 years ago

These are to be started in a dedicated TaskWorker. This worker may distribute work to other TaskWorkers.

kenashkov commented 4 years ago

Add a check at code startup - if there are scheduled tasks but no TaskWorkers configured throw an error.

kenashkov commented 4 years ago

Add a separate package for parsing scheduled tasks definitions - one of these should support the standard cron format.

kenashkov commented 4 years ago

A new package is created: azonmedia/cron :