call(function(){ echo "-------------------------------------------------------------------------------\n"; echo "Start ".Carbon::now()->format('d.m.Y H:i:s')."\n"; }) ->everyFifteenMinutes() ->appendOutputTo($logfile); // $schedule->command('publish:notify --postId=1139 --platform=facebook') // ->everyMinute(); // Überprüfe, ob der Warteschlangenprozess noch läuft $schedule->command('queue:checkup') ->everyFifteenMinutes() ->appendOutputTo($logfile); // Veröffentlichung auf Facebook und Twitter // Täglich um 11:30 Uhr $schedule->command('publish:social-media') ->dailyAt('11:30') ->appendOutputTo($logfile); // Veröffentlichung im Stadtanzeiger // Montags zwischen 00:00 und 00:15 Uhr $schedule->command('publish:stadtanzeiger') ->mondays() ->at('00:00') ->appendOutputTo($logfile); } /** * Register the commands for the application. * * @return void */ protected function commands() { $this->load(__DIR__.'/Commands'); require base_path('routes/console.php'); } }