LaravelPackages.net
Acme Inc.
Toggle sidebar
alexbowers/laravel-fake-cron

26.527
55
v1.2.0
About alexbowers/laravel-fake-cron

alexbowers/laravel-fake-cron is a Laravel package. It currently has 55 GitHub stars and 26.527 downloads on Packagist (latest version v1.2.0). Install it with composer require alexbowers/laravel-fake-cron. Discover more Laravel packages by alexbowers or browse all Laravel packages to compare alternatives.

Last updated

Laravel Fake Cron


php artisan cron is a daemon command that runs the schedule:run command.

Use this package instead of adding php artisan schedule:run to your crontab file.

Run this command under supervisor so that it will automatically restart should any crash occur.

Options:

You can use the --interval flag to set the interval between schedule:run calls.

By default, this is every 60 seconds, however it can be changed to any interger second value.

php artisan cron --interval=15 would run the scheduled commands every 15 seconds.

This is helpful if you want a finer granuality than a typical cron gives you.

By default this command outputs a progress bar showing how long until the next trigger, if you do not want this (eg, in production), use the --quiet flag.

Star History Chart