Page 1 of 1
Update Exchange Rate Cron Job
Posted: Fri Nov 10, 2023 7:36 am
by heatherbell
What is the correct file/path for setting up a cron job to Update Exchange Rate?
TIA
Re: Update Exchange Rate Cron Job
Posted: Fri Nov 10, 2023 9:33 am
by burt
It would be *something* like;
wget --user your_admin_username --pass your_admin_password -spider "https://your_site.com/your_admin/currencies.php?action=update" >/dev/null 2>&1
Changing the obvious bits as appropriate. If it's not that, it may be worth asking host.
Re: Update Exchange Rate Cron Job
Posted: Fri Nov 10, 2023 11:02 am
by heatherbell
burt wrote: ↑Fri Nov 10, 2023 9:33 am
It would be *something* like;
TY
Cron Jobs can be set in the control panel of our host (I think cPanel is the same) and only require the "path to the script".
So I guess, that is, your_admin/currencies.php?action=update.
Re: Update Exchange Rate Cron Job
Posted: Fri Nov 10, 2023 12:46 pm
by burt
Possibly. Give it a go (setting it up as your Panel suggests) and see if it runs.
If it runs...happy days.