function commerce_exchanger_cron in Commerce Exchanger 8
Implements hook_cron().
File
- ./
commerce_exchanger.module, line 11 - Main module file.
Code
function commerce_exchanger_cron() {
// Import exchange rates.
\Drupal::service('commerce_exchanger.import')
->run();
}