Let MySQL do the time logic when looking for tasks
This commit is contained in:
parent
23872b844a
commit
8c6327fd32
5 changed files with 24 additions and 168 deletions
|
@ -24,12 +24,4 @@ interface ScheduleRepositoryInterface extends RepositoryInterface
|
|||
* @throws \Pterodactyl\Exceptions\Repository\RecordNotFoundException
|
||||
*/
|
||||
public function getScheduleWithTasks(int $schedule): Schedule;
|
||||
|
||||
/**
|
||||
* Return all of the schedules that should be processed.
|
||||
*
|
||||
* @param string $timestamp
|
||||
* @return \Illuminate\Support\Collection
|
||||
*/
|
||||
public function getSchedulesToProcess(string $timestamp): Collection;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue