feature/IO-2979-DST-Handling
- Checkpoint Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -324,6 +324,29 @@ const tasksRemindEmail = async (req, res) => {
|
||||
}
|
||||
};
|
||||
|
||||
// Note: Uncomment this to test locally, it will call the remind_at email check every 20 seconds
|
||||
// const callTaskRemindEmailInternally = () => {
|
||||
// const req = {
|
||||
// body: {
|
||||
// // You can mock any request data here if needed
|
||||
// }
|
||||
// };
|
||||
//
|
||||
// const res = {
|
||||
// status: (code) => {
|
||||
// return {
|
||||
// json: (data) => {
|
||||
// console.log(`Response Status: ${code}`, data);
|
||||
// }
|
||||
// };
|
||||
// }
|
||||
// };
|
||||
//
|
||||
// // Call the taskRemindEmail function with mock req and res
|
||||
// tasksRemindEmail(req, res);
|
||||
// };
|
||||
// setInterval(callTaskRemindEmailInternally, 20000);
|
||||
|
||||
module.exports = {
|
||||
taskAssignedEmail,
|
||||
tasksRemindEmail,
|
||||
|
||||
Reference in New Issue
Block a user