Jump to content

update currencies daily


Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...