abichinger / vue-js-cron

Renderless Vue.js cron editor
MIT License
66 stars 22 forks source link

Add Support for Weekday (W) and Last day (L) #61

Open MathysB21 opened 3 weeks ago

MathysB21 commented 3 weeks ago

Hi everyone!

I don't know if this is the correct place and way to request a feature since I'm pretty new to logging issues. (Please don't flame me)

I want to thank you all for this amazing piece of software you have created, I use it on a daily basis and it has taken my user experience to the next level.

I recently discovered that I would need to create two more CRON jobs for my day job. One will need to run on every weekday and the other on every last day of the month. I did some research and CRON does support the use of W and L for weekday and last day.

I was wondering if there was ever a possibility for this feature to be added to vue-js-cron? https://www.baeldung.com/cron-expressions

Once again, thank you all so much!

abichinger commented 3 weeks ago

Hi,

I want to thank you all for this amazing piece of software you have created

Thanks! I'm glad you like it.

I did some research and CRON does support the use of W and L for weekday and last day.

I think only some cron implementations support W and L. For example, crontab does not, while quartz does. The implementation of this feature is not trivial, because cron quartz has mutiple meanings for W and L.

Unfortunately, I don't have the time to implement this at the moment, but I'm happy to accept a PR if someone wants to give it a try.

Related issue: #25