Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[discussion] How do I parse a later schedule into CRON? #21

Open
2 of 3 tasks
JackEdwardLyons opened this issue Jan 31, 2022 · 1 comment
Open
2 of 3 tasks

[discussion] How do I parse a later schedule into CRON? #21

JackEdwardLyons opened this issue Jan 31, 2022 · 1 comment
Labels
question Further information is requested

Comments

@JackEdwardLyons
Copy link

JackEdwardLyons commented Jan 31, 2022

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

  • I have read the documentation.
  • 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 JackEdwardLyons added the question Further information is requested label Jan 31, 2022
@ccollie
Copy link

ccollie commented Apr 15, 2024

@JackEdwardLyons Did you ever find a way to handle this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants