I want run a magento function that would run at every hour , i am written code in config.xml but i did not working.here the code in config.xml

                <schedule><cron_expr>* */1 * * *</cron_expr></schedule>

I assume that there issue in * */1 * * * Please help me


try with this cron expression:

<cron_expr>0 * * * *</cron_expr>

I'm not exactly sure what your expression does but I have a feeling it triggers every minute.

| improve this answer | |

If Magento actually supports that notation, you should use this:

0 * * * *

which will run the job on the hour every hour.

Using */1 is the same as *, so your original line runs the job every minute of every hour.

| improve this answer | |

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.