I want to use cron job to run a task for example every 3 days at 7pm BUT start in the future and for a specific period of time. (for example from 14/02/2023 to 22/05/2023).
The only thing i could do is running a task every 3 days at 7:00pm.
const cron = require('node-cron'); cron.schedule("0 0 19 */3 * *", function () { console.log("running a task "); });