One problem I have been assigned to investigate is to the updating of currency rates via the cron job.
I was able to get it to update fine, but when I went to run it again after changing the time (by about 2 minutes) the
currency_rates_update job was not rescheduled in the
After experimenting I have found something strange. After changing the time for the currency rates to be updated I had to click on the Flush Cache Storage button in Cache Management before the cron would create the
currency_rates_update entry. Once it has been created, it will work fine after that.
This is what I do to change the time:
- Go to System > Configuration > General > Currency Setup
- Change Start Time in Scheduled Import Settings to be 3 - 5 minutes ahead of my current time and save
- Go to System > Cache Management
- Select all the caches, set Actions to refresh and click on submit
- Go to cron.php
After all of this the
currency_rates_update isn't created, it's only created after I click on Flush Cache Storage button in cache management. I am wondering if I am missing a step that doesn't involve flushing the cache storage when I change the time.
NOTE: As a further test, I went onto a different build with a different database and turned off all the caches and cleared everything in
cron_schedule before running cron.php, nothing was recreated until I flushed the cache storage.