vue-js-cron icon indicating copy to clipboard operation
vue-js-cron copied to clipboard

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

Open MathysB21 opened this issue 1 year ago • 1 comments

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!

MathysB21 avatar Jul 04 '24 12:07 MathysB21

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

abichinger avatar Jul 09 '24 13:07 abichinger