Add (ai gen)
This commit is contained in:
@@ -44,7 +44,7 @@ protected function schedule(Schedule $schedule)
|
||||
->onConnection('default');
|
||||
|
||||
// Update the next random run time for the following day using Eloquent
|
||||
$nextRun->next_run_time = now()->addMinutes(rand(1200, 1440))->toTimeString();
|
||||
$nextRun->next_run_time = now()->addMinutes(rand(1200, 1440))->format('H:i:00');
|
||||
$nextRun->save();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user