imsuperlative/laravel-schedule-worker

Laravel queue worker, using schedule

Installs: 1 487

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 3

pkg:composer/imsuperlative/laravel-schedule-worker

0.2.0 2020-09-07 08:26 UTC

README

use imsuperlative\scheduleWorker\ScheduleCommand;
...

protected function schedule(Schedule $schedule)
{
    foreach (ScheduleCommand::make() as $command) {
        ScheduleCommand::dispatch($schedule, $command);
    }
}

this is proof of concept and should not be run in production environment.

todo
echo might destroy logging output of schedule