Server IP : 172.67.158.161 / Your IP : 3.135.203.142 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/home/giankuin/thietke365.net/wp-content/plugins/mailpoet/lib/Cron/ |
Upload File : |
<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing namespace MailPoet\Cron; if (!defined('ABSPATH')) exit; use MailPoet\Entities\ScheduledTaskEntity; interface CronWorkerInterface { /** @return string */ public function getTaskType(); /** @return bool */ public function scheduleAutomatically(); /** @return bool */ public function supportsMultipleInstances(); /** @return bool */ public function checkProcessingRequirements(); public function init(); /** * @param ScheduledTaskEntity $task * @param float $timer * @return bool */ public function prepareTaskStrategy(ScheduledTaskEntity $task, $timer); /** * @param ScheduledTaskEntity $task * @param float $timer * @return bool */ public function processTaskStrategy(ScheduledTaskEntity $task, $timer); /** @return \DateTimeInterface */ public function getNextRunDate(); }