active
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user