Skip to content

set specific cron job time from admin

i want to create configuration from admin for this cron tab how we can do that?

<?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="order_product_report">
        <job name="order_product_report" instance="abcabcCronOrderReport" method="execute">
            <schedule>* * * * *</schedule>
        </job>
    </group>
</config>