command('credits:charge')->hourly(); $schedule->command('queue:work --once')->everyMinute(); //log cronjob activity $schedule->call(function () { Storage::disk('logs')->put('cron.log' , "Last activity from cronjobs - " . now()); })->everyMinute(); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__ . '/Commands'); require base_path('routes/console.php'); } }