custom/plugins/FroshPlatformMailArchive/src/Task/CleanupTask.php line 7

Open in your IDE?
  1. <?php
  2. namespace Frosh\MailArchive\Task;
  3. use Shopware\Core\Framework\MessageQueue\ScheduledTask\ScheduledTask;
  4. class CleanupTask extends ScheduledTask
  5. {
  6.     public const NAME 'frosh.mail_archive.cleanup';
  7.     public static function getTaskName(): string
  8.     {
  9.         return self::NAME;
  10.     }
  11.     public static function getDefaultInterval(): int
  12.     {
  13.         return 86400;
  14.     }
  15. }