I want to run a cron job on every 28th and 29th day of a month. My code is as follows:
cron.schedule('* * 28,29 * *', function() {
let d = Date()
console.log(`*********************** Check Current Month's Data Cron Job - ${d} ************************`)
othersController.checkCurrentMonthData()
})
Today is 28th Jan and this code is running every minute. How can I make it run only once on 28th and 29th of the month.