emsil alerts

This commit is contained in:
CHIEFSOFT\ameye
2024-10-03 10:34:01 -04:00
parent d731c0b0b2
commit 7f3478fcc1
5 changed files with 24 additions and 1 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ CREATE TABLE email_message(
}
long CronSendMail(CVars in, CVars &out){
logfmt(logINFO, " ***** CALL long CronSendMail(CVars in, CVars &out)");
return 0;
}
@@ -13,6 +13,7 @@
#include <curl/curl.h>
#include "jobs.h"
#include "bko.h"
#include "cron_email.h"
long ReviewReminder(CVars in, CVars &out);
long OfferPending(CVars in, CVars &out);
@@ -155,6 +156,14 @@ long sitecrons_calls(CVars in, CVars &out) {
CronTracker(ct, co);
return ScheduleHolidayJobs(in, out);
break;
case WRB_CRONJOB_APPEMAILS:
ct["job_type"]="WRB_CRONJOB_APPEMAILS"; ct["job_type"].set_valid( true );
ct["description"]="Send Email Batch"; ct["description"].set_valid( true );
CronTracker(ct, co);
return CronSendMail(in, out);
break;
// define('WRB_CRONJOB_APPEMAILS', 782);
}
logfmt(logINFO, "/sitecrons_calls()");