adds code


In this tutorial we'll try to schedule a task on node express api using node-cron which will execute at a given date and time. We'll be using node-cron npm package in node express api. The requirement here is to trigger a send email method on every 15 August at 09:00 AM as per Indian timezone. Source code is available at https://www.codeofindia.in/tutorial/detail/schedule-a-task-in-node-express-api-using-node-cron-4
Previous Post Next Post