<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt 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="default">
        <job name="sales_clean_quotes" instance="Magento\Sales\Cron\CleanExpiredQuotes" method="execute">
            <schedule>0 0 * * *</schedule>
        </job>
        <job name="sales_clean_orders" instance="Magento\Sales\Model\CronJob\CleanExpiredOrders" method="execute">
            <schedule>0 * * * *</schedule>
        </job>
        <job name="aggregate_sales_report_order_data" instance="Magento\Sales\Model\CronJob\AggregateSalesReportOrderData" method="execute">
            <schedule>0 0 * * *</schedule>
        </job>
        <job name="aggregate_sales_report_invoiced_data"
             instance="Magento\Sales\Model\CronJob\AggregateSalesReportInvoicedData" method="execute">
            <schedule>0 0 * * *</schedule>
        </job>
        <job name="aggregate_sales_report_refunded_data" instance="Magento\Sales\Model\CronJob\AggregateSalesReportRefundedData" method="execute">
            <schedule>0 0 * * *</schedule>
        </job>
        <job name="aggregate_sales_report_bestsellers_data"
             instance="Magento\Sales\Model\CronJob\AggregateSalesReportBestsellersData" method="execute">
            <schedule>0 0 * * *</schedule>
        </job>
        <job name="sales_grid_order_async_insert" instance="SalesOrderIndexGridAsyncInsertCron" method="execute">
            <schedule>*/1 * * * *</schedule>
        </job>
        <job name="sales_grid_order_invoice_async_insert" instance="SalesInvoiceIndexGridAsyncInsertCron" method="execute">
            <schedule>*/1 * * * *</schedule>
        </job>
        <job name="sales_grid_order_shipment_async_insert" instance="SalesShipmentIndexGridAsyncInsertCron" method="execute">
            <schedule>*/1 * * * *</schedule>
        </job>
        <job name="sales_grid_order_creditmemo_async_insert" instance="SalesCreditmemoIndexGridAsyncInsertCron" method="execute">
            <schedule>*/1 * * * *</schedule>
        </job>
        <job name="sales_send_order_emails" instance="SalesOrderSendEmailsCron" method="execute">
            <schedule>*/1 * * * *</schedule>
        </job>
        <job name="sales_send_order_invoice_emails" instance="SalesInvoiceSendEmailsCron" method="execute">
            <schedule>*/1 * * * *</schedule>
        </job>
        <job name="sales_send_order_shipment_emails" instance="SalesShipmentSendEmailsCron" method="execute">
            <schedule>*/1 * * * *</schedule>
        </job>
        <job name="sales_send_order_creditmemo_emails" instance="SalesCreditmemoSendEmailsCron" method="execute">
            <schedule>*/1 * * * *</schedule>
        </job>
    </group>
</config>
