nrs Posted May 27, 2015 Share Posted May 27, 2015 Hi, I continue the following topic: https://www.prestashop.com/forums/topic/75337-solved-can-currency-auto-update-without-manually-click-on-update-currencies-daily/ in order to be helped to install an automatical currencies update. rocky wrote: "I'll try to make it easier. Create a file called cron.php in the root directory of PrestaShop with the following code:<?phpinclude(dirname(__FILE__).'/config/config.inc.php');include(dirname(__FILE__).'/classes/Currency.php');if (isset($_GET['secure_key']) AND $_GET['secure_key'] === 'password') Currency::refreshCurrencies();?>Change 'password' to a password only you know that that only you can update your currency rates. Then create a cron job in your cPanel with the URL http://www.yoursite....re_key=password where password is the password you entered in cron.php." Please what means "Then create a cron job in your cPanel with the URL http://www.yoursite....re_key=password"? What does he mean with "yoursite....re_key"? I have a cloud shop. Link to comment Share on other sites More sharing options...
nrs Posted May 28, 2015 Author Share Posted May 28, 2015 I founded that it is simple through the module cron and the problem has been solved. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now