We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3ee72a commit f932f62Copy full SHA for f932f62
src/Core/Scheduler.php
@@ -11,6 +11,10 @@ class Scheduler
11
{
12
public static function schedule(Schedule $schedule)
13
14
+ /**
15
+ * CUSTOM SCHEDULE
16
+ */
17
+
18
/** @var Carbon $dateNow */
19
$dateNow = now();
20
$schedulableQueues = QueueConfigRepository::findSchedulables();
@@ -73,6 +77,13 @@ public static function schedule(Schedule $schedule)
73
77
event(new ScheduleError('Schedule Error - ' . $schedulableQueue->name . ' ' . $e->getMessage(), ['queue' => $schedulableQueue->name]));
74
78
}
75
79
80
81
82
83
+ * RESTAR QUEUE EVERY HOUR
84
85
86
+ $schedule->command('queue:restart')->hourly();
76
87
88
89
0 commit comments