Difficulty with 5-second Cron job using Laravel-PHP
I want to schedule a job (Task1) to be run every 5 seconds. I have the following code: class Kernel extends ConsoleKernel { protected function schedule(Schedule $schedule) { $schedule->job(new Task1)->everyFiveSeconds(); // <----- This is the line in question $schedule->job(new Task2)->everyMinute();…