later
later copied to clipboard
[discussion] How do I parse a later schedule into CRON?
What would you like to discuss?
I'm wondering how I can convert a later schedule into cron format? For example:
const everyNthDays = later.parse.recur().every(12).dayOfMonth();
const dayOccurs = later.schedule(everyNthDays).next(5);
console.log({ everyNthDays });
// how to convert to cron??
Checklist
- [x] I have read the documentation.
- [x] I understand that later can parse a cron expression ...
- [ ] How do I parse a later schedule to cron?
If it's not possible with laterjs, do you have any recommended libraries that could help?
Thank you
@JackEdwardLyons Did you ever find a way to handle this ?