This commit is contained in:
CHIEFSOFT\ameye
2024-02-03 12:14:51 -05:00
parent 78c103b1f5
commit 179d1655ff
+1 -1
View File
@@ -172,7 +172,7 @@ long CronTracker(CVars in, CVars &out){
if ( load_db_record(out, "SELECT id AS cron_id,active FROM cron_jobs WHERE job_type ='%s' ", in["job_type"].c_str())> 0){
ret = out["active"].Long();
res = pgsql_query("UPDATE cron_jobs SET updated=now() WHERE id = %lu", out["cron_id"].Long());
res = pgsql_query("UPDATE cron_jobs SET updated=now(), active=1 WHERE id = %lu", out["cron_id"].Long());
}
else{
CVars xx;