How do I set up a cron expression to run a cron job once in two weeks, on specific days of week. Suppose the user selects Mon,Fri,Sat. I will have to run the job on those days of week and again after 2 weeks on the same Days. The user input is developed in react, and I need to frame the expression depending on the input and send it to backend for the job to run
I'm using node-cron to parse the cron expression at backend: https://www.npmjs.com/package/cron