0

I'm trying to set up correctly the Cron job for my Magento so i can send the newsletter.

I've seen many guides but any of them worked for me.

Here is my PHP info file: http://sportsdirect.bg/phpinfo.php

For now any Cron job is running for my Magento, i need to set it up!

Can you please give me the command i should place in my cPanel so it will run ot every 5 minutes.

My Magento version is 1.9.0.1.

Thanks in advance!

  • Tony,it total depend o n share hosting feaure – Amit Bera Apr 27 '15 at 10:29
  • have you using magento default newsletter feature – Amit Bera Apr 27 '15 at 10:31
1

In shared hosting (using cPanel), you can setup your cron in Advanced section -> Cron Jobs

In Common Settings field, select once every five minutes in the dropdown.

In Command, put the following action (if your Magento root is public_html)

/bin/sh /home/sportsdi/public_html/cron.sh

Add that cron job and your cron should be up and running.

  • And if the shared hosting cPanel setup denies running shell scripts from cron for security reasons, then run cron.php instead. – Fiasco Labs Jul 17 '15 at 3:35

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.