Hello Diptom Saha,
You can use node-cron for creating a cron job if it has to be happening at a particular time of the day, day of the week, and so on.
let cron = require('node-cron');
In your case, as the meeting time is known, the cron job can be created with the time that is meeting_time - time_offset(30 mins for example).
The cron.schedule method is capable of taking the customizable pattern too.
cron.schedule('* * * * *', () => {
console.log('running a task every minute');
});
Cron allowed fields are,
┌────────────── second (optional)
│ ┌──────────── minute
│ │ ┌────────── hour
│ │ │ ┌──────── day of month
│ │ │ │ ┌────── month
│ │ │ │ │ ┌──── day of week
│ │ │ │ │ │
│ │ │ │ │ │
So when you schedule the meeting, schedule a cron also accordingly.
Hope it helps.