<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Cron:etc/crontab.xsd">
    <group id="default">
        <!-- personalised launch email: runs only between the start and the end of the campaign -->
        <job name="autogedal_blackfriday_send_launch_emails" instance="Autogedal\BlackFriday\Cron\SendLaunchEmails" method="execute">
            <schedule>*/5 * * * *</schedule>
        </job>
        <!-- resolves new SKUs of the list and refreshes the bestseller order -->
        <job name="autogedal_blackfriday_refresh_list" instance="Autogedal\BlackFriday\Cron\RefreshList" method="execute">
            <schedule>20 3 * * *</schedule>
        </job>
    </group>
</config>
