7 months ago

Laravel 5.7 cronjob "--force" doesn't work?

Posted 7 months ago by mastermarco

I try to start my command with this call:

$schedule->command(DailyVotesReminder::class, ['--force'])->dailyAt('13:00');

Like in docs:

I get in the log following error:

The "--force" option does not exist.

I upgraded the laravel version few days ago and the cronjobs were not available in older versions...

Do I have to update something others?

Please sign in or create an account to participate in this conversation.