nicoX Posted September 19, 2019 Share Posted September 19, 2019 (edited) This doesn't work, I have my admin directory password protected: /usr/bin/wget -q -O --user myuser --password 'mypassword' http://example.net/admin/cron_currency_rates.php?secure_key=12345 >> /dev/null 2>&1 Edited September 19, 2019 by nicoX (see edit history) Link to comment Share on other sites More sharing options...
nicoX Posted September 19, 2019 Author Share Posted September 19, 2019 What's the correct way to update the currency with cron? There is no documentation or any threads explaining this. Link to comment Share on other sites More sharing options...
CedCommerce Team Posted September 21, 2019 Share Posted September 21, 2019 On 9/20/2019 at 2:23 AM, nicoX said: What's the correct way to update the currency with cron? There is no documentation or any threads explaining this. Hello, You can check out here to get your query solved Link : Link to comment Share on other sites More sharing options...
nicoX Posted September 21, 2019 Author Share Posted September 21, 2019 That thread is from 2010 and applies for version 1.3. I have cron built in into my cPanel. Can't believe there is no other threads or documentation for this. Anyway I managed to solve it by removing the -O flag. Just now it creates an output file which I don't want. Link to comment Share on other sites More sharing options...
Ableson Posted September 22, 2019 Share Posted September 22, 2019 Look like the tutorial is solution for you, at: https://www.easycron.com/cron-job-tutorials/how-to-set-up-cron-job-for-prestashop-currencies. Link to comment Share on other sites More sharing options...
nicoX Posted September 23, 2019 Author Share Posted September 23, 2019 This works: /usr/bin/wget -q -O /dev/null --user user --password 'password' http://example.org/admin/cron_currency_rates.php?secure_key=12345 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