1

Hi I am using pleks sheduled task to run magento cron.

I would like to know if there something wrong with my settings below.

Plesk settings: */5 * * * *

Note that the */5 * * * * runs properly. while the second one which I've set to run at 01:00AM doesnt run at all

 <crontab>
    <jobs>
        <teser_productimport_fivelog>
            <schedule><cron_expr>*/5 * * * *</cron_expr></schedule>
            <run><model>teser_productimport/observer::fiveLog</model></run>
        </teser_productimport_fivelog>
        <teser_productimport_tenLog>
            <schedule><cron_expr>0 1 * * *</cron_expr></schedule>
            <run><model>teser_productimport/observer::tenLog</model></run>
        </teser_productimport_tenLog>
    </jobs>
</crontab>
3
  • Have you checked cron output? Does that function run manually?
    – Prateek
    Aug 7, 2015 at 14:35
  • if I change 0 1 * * * to */5 * * * * it works.
    – tom_cruz
    Aug 9, 2015 at 10:33
  • Your expression seems to be correct. Check the server timezone, and what you have setup in Magento, if the function is not getting fired at 01 AM. Have you checked the call over a span of more than 24 Hours?
    – Prateek
    Aug 10, 2015 at 16:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.