You are here

function update_status_cron in Update Status 5

Same name and namespace in other branches
  1. 5.2 update_status.module \update_status_cron()

Implementation of hook_cron().

File

./update_status.module, line 212

Code

function update_status_cron() {
  if (time() - variable_get('update_status_last', 0) > 86400) {
    update_status_refresh();
    variable_set('update_status_last', time());
  }
}