Is there a way to schedule a function to run every day for a period of 7 days using Nestjs (@nestjs/scheduler)?
@Cron(new Date(Date.now() + (24*60*60*1000) * 7)
function() {
console.log("This should get called each day during the next 7 days")
}
I've searched through the documentation but couldn't find a solution for this specific requirement.