Add (ai gen)

This commit is contained in:
2023-10-02 10:05:59 +08:00
parent 1bb1eea689
commit 6942d9f4fb

View File

@@ -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();
}
}