Convert CRON to RRULE for iCal calendar invite

Viewed 1081

In my application, I am creating meeting schedules based on Quartz cron format, which I am using to run some logic at meeting time by running scheduler. Here is the npm I am using for CRON creation. https://vincentjames501.github.io/angular-cron-gen/

What i wanted to achieve is, Generate user define CRON and send an iCal calendar event invite with recurring schedule. So attendee should also get calendar invite and save it for reminder.

Example: I want to schedule meeting on every Monday, Wednesday and Friday at 9 AM.
enter image description here
CRON : 0 0 9 ? * MON,WED,FRI *
RRULE: FREQ=WEEKLY;INTERVAL=1;WKST=MO;BYDAY=MO,WE,FR;BYHOUR=9;BYMINUTE=0;BYSECOND=0

enter image description here

So My question, Is there any library or method available to generate RRULE syntax based on CRON expression?

0 Answers
Related