0

I have created a crontab.xml My server is in UTC time zone.But I need to run my cron job at 2.30 a.m EST timezone.

Please provide me the solution

<?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">
         <job instance="VendorName\ModuleName\Model\AddUpdateTierPrice" method="addTierPrice" name="dynamic_pricing_cron">
            <schedule>* * * * *</schedule> <!--how to set EST time zone at 2.30 am -->
        </job> 
    </group>
</config>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.