You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -134,6 +134,14 @@ Let's look at a few more scheduling examples:
$schedule->command('foo')->saturdays();
$schedule->command('foo')->sundays();
### Prevent Jobs From Overlapping
By default, scheduled jobs will be run even if the previous instance of the job is still running. To prevent this, you may use the `withoutOverlapping` method:
$schedule->command('foo')->withoutOverlapping();
In this example, the `foo` command will be run every minute if it is not already running.