diff --git a/wrenchboard/email/REMINDER/offer_pending_reminder.mailfile b/wrenchboard/email/REMINDER/offer_pending_reminder.mailfile index 7d7d5c34..ea11b281 100644 --- a/wrenchboard/email/REMINDER/offer_pending_reminder.mailfile +++ b/wrenchboard/email/REMINDER/offer_pending_reminder.mailfile @@ -22,6 +22,7 @@ img {height: auto;} .footer {padding: 20px 30px 15px 30px; bgcolor:#007bff; background-color:#007bff;} .footercopy {font-family: sans-serif; font-size: 14px; color: #ffffff;} .footercopy a {color: #ffffff; text-decoration: underline;} +.expire{ color: red;} @@ -71,10 +72,10 @@ img {height: auto;} diff --git a/wrenchboard/src/shared_tool/site_crons.cc b/wrenchboard/src/shared_tool/site_crons.cc index 0737e4cd..a02a3d92 100644 --- a/wrenchboard/src/shared_tool/site_crons.cc +++ b/wrenchboard/src/shared_tool/site_crons.cc @@ -134,7 +134,7 @@ long limit = in["one_limit"].Long(); long mode = REQ_LONG(in, "mode", 0, -1); - char extraQ[600]; + char extraQ[1600]; if ( mode == 100 ){ snprintf(extraQ, sizeof (extraQ), " WHERE now() > jo.added +'6 hrs' AND jo.expire > now() AND jo.status = 1 AND jo.public_view =0 AND jo.reminder_count =0 AND jo.reminder_date IS NULL"); @@ -144,7 +144,7 @@ if ( mode == 200 ){ snprintf(extraQ, sizeof (extraQ), " WHERE jo.expire < now() +'12 hrs' AND jo.expire > now() AND jo.status = 1 AND jo.public_view =0 AND jo.reminder_count = 1 AND jo.reminder_date IS NOT NULL"); } -if ( mode == 100 ){ +if ( mode == 300 ){ snprintf(extraQ, sizeof (extraQ), " WHERE jo.expire < now() +'6 hrs' AND jo.expire > now() AND jo.status = 1 AND jo.public_view =0 AND jo.reminder_count > 0 AND jo.reminder_date IS NOT NULL"); }
- There is task sent to you waiting for your acceptance at {{site_name}}. -
Title : {{title}}
- Ther will expire after {{expire}}. -
+ An offer was sent to you and waiting for your acceptance at {{site_name}}. +
Title : {{title}}
+ This will expire after {{expire}}. +