CMS MADE SIMPLE FORGE

Cron

 

[#7470] Last run is not updated

avatar
Created By: Ursula Prager-Ramsa (ulli)
Date Submitted: Tue Jan 17 10:24:40 -0500 2012

Assigned To: Jean-Christophe Cuvelier (totophe)
Version: Cron 0.0.2
CMSMS Version: 1.10.2
Severity: Critical
Resolution: None
State: Open
Summary:
Last run is not updated
Detailed Description:
The siteprefs for lastrun of the crons are not updatet.
$this->SetPreference('Last'.$period, time()); 
the Preference was not set, because "cms_siteprefs::set" dont recognize that
this Preference exists
and
ADOConnection._Execute(INSERT INTO cms_siteprefs (sitepref_name, sitepref_value)
VALUES ('Cron_mapi_pref_LastYearly',1326812908))
comes than with "uplicate entry 'Cron_mapi_pref_LastYearly' for key 'PRIMARY'"
this makes the module not useable.



History