Changeset 4613

Show
Ignore:
Timestamp:
07/29/07 02:02:21 (6 years ago)
Author:
p_lindheimer
Message:

cronmanager not updating after fix for hourly updates

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/branches/2.3/amp_conf/htdocs/admin/functions.inc.php

    r4609 r4613  
    443443        if ($job['time'] >= 0 && $job['time'] < 24) { 
    444444          $date_arr = getdate($now); 
    445           if ($date_arr['hours'] != $job['time']) { 
     445          // Now if lasttime is 0, then we want this kicked off at the proper hour 
     446          // after wich the frequencey will set the pace for same time each night 
     447          // 
     448          if (($date_arr['hours'] != $job['time']) && !$job['lasttime']) { 
    446449            continue; 
    447450          }