forked from opengento/magento2-gdpr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrontab.xml
executable file
·23 lines (23 loc) · 1.09 KB
/
crontab.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?xml version="1.0"?>
<!--
/**
* Copyright © OpenGento, All rights reserved.
* See LICENSE bundled with this library for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd">
<group id="gdpr">
<job name="gdpr_erase_entity" instance="Opengento\Gdpr\Cron\EraseEntity" method="execute">
<config_path>gdpr/erasure/entity_schedule</config_path>
</job>
<job name="gdpr_erase_entity_scheduler" instance="Opengento\Gdpr\Cron\EraseEntityScheduler" method="execute">
<config_path>gdpr/erasure/entity_max_age_schedule</config_path>
</job>
<job name="gdpr_export_entity" instance="Opengento\Gdpr\Cron\ExportEntity" method="execute">
<config_path>gdpr/export/entity_schedule</config_path>
</job>
<job name="gdpr_export_entity_expired" instance="Opengento\Gdpr\Cron\ExportEntityExpired" method="execute">
<config_path>gdpr/export/entity_expired_schedule</config_path>
</job>
</group>
</config>