How to set cron job interval in magento 2
-
15-04-2021 - |
문제
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>
올바른 솔루션이 없습니다
제휴하지 않습니다 magento.stackexchange