Index: cronplus.module =================================================================== --- cronplus.module (revision 2191) +++ cronplus.module (working copy) @@ -191,7 +191,7 @@ // Gather information... $last_cron = intval(variable_get('cronplus_last_cron', 0)); $now = time(); - $now_wkdy = intval(gmdate('w'), $now); // 0=Sunday + $now_wkdy = intval(gmdate('w', $now)); // 0=Sunday // For the $now_week, weeks start on Monday, not Sunday. This is a mismatch // against $now_wkdy, but it doesn't matter because all we are looking for // in $now_week is a *change* -- we don't care about the actual value.