<?php declare(strict_types=1);
/*
* (c) shopware AG <info@shopware.com>
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Swag\PayPal\Pos\Schedule;
use Shopware\Core\Framework\MessageQueue\ScheduledTask\ScheduledTask;
class CleanUpLogTask extends ScheduledTask
{
private const TIME_INTERVAL_MONTHLY = 2592000;
public static function getTaskName(): string
{
return 'swag_paypal.pos_clean_up_log';
}
public static function getDefaultInterval(): int
{
return self::TIME_INTERVAL_MONTHLY;
}
}