I think in currency_api.module
@619
$result = db_fetch_object(db_query("SELECT * FROM {currencyapi} WHERE currency_from = '%s' AND currency_to = '%s' AND timestamp > UNIX_TIMESTAMP( ) - %d", $currency_from, $currency_to, variable_get('currency_api_fetch', UPDATE_FREQUENCY)));

shuold be "timestamp < UNIX_TIMESTAMP( ) - %d" - less than instead of greater than.

If there is "timestamp > UNIX_TIMESTAMP( ) - %d", on every fnc. call will be true, and currency rate will be refreshed - not mind the config setup.

Comments

szato’s picture

Title: Currency update » Currency rate update in currency_api_load()
kbahey’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

Are you sure this is the case? Do you see a watchdog message on every cron run?

szato’s picture

Sorry, it was my mistake.

szato’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)