Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-tracker/etc/crontab.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<!--
/**
 * Smile_ElasticsuiteCatalog indices configuration.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
 * versions in the future.
 *
 * @category  Smile
 * @package   Smile\ElasticsuiteTracker
 * @author    Aurelien FOUCRET <aurelien.foucret@smile.fr>
 * @copyright 2020 Smile
 * @license   Open Software License ("OSL") v. 3.0
 */
 -->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd">
    <group id="default">
        <job name="elasticsuite_index_log_event" instance="Smile\ElasticsuiteTracker\Cron\IndexLogEvent" method="execute">
            <schedule>* * * * *</schedule>
        </job>
        <job name="elasticsuite_anonymize_log_event" instance="Smile\ElasticsuiteTracker\Cron\ExpireCustomerLink" method="execute">
            <schedule>0 0 * * *</schedule>
        </job>
        <job name="elasticsuite_purge_log_event" instance="Smile\ElasticsuiteTracker\Cron\CleanTrackingData" method="execute">
            <schedule>0 1 * * *</schedule>
        </job>
        <job name="elasticsuite_cleanup_log_event_queue" instance="Smile\ElasticsuiteTracker\Cron\CleanupInvalidEvent" method="execute">
            <schedule>* * * * *</schedule>
        </job>
    </group>
</config>