Files

19 lines
342 B
PHP
Raw Permalink Normal View History

2026-10-05 18:10:18 -04:00
<?php
declare(strict_types=1);
namespace Pterodactyl\Contracts\Schedules;
use Pterodactyl\Models\Schedule;
use Throwable;
interface ProcessesSchedules
{
/**
2026-10-11 23:50:53 -04:00
* Push the schedule's first task onto the queue worker.
2026-10-05 18:10:18 -04:00
*
* @throws Throwable
*/
public function process(Schedule $schedule, bool $now = false): void;
}