elysiajs / elysia-cron

Plugin for Elysia that add support for running cronjob
MIT License
14 stars 6 forks source link

Fixed everyDayAt #12

Open oDeano opened 4 months ago

oDeano commented 4 months ago

The day field in the cron expression is a "0", it should be "*" to run the cron job everyday.

Currently crashes if you try to use Patterns.everyDayAt()

FreeZe5K commented 2 months ago

I noticed this issue too, and checked open issues/PR's first. I'm not a maintainer, but this is a valid fix for whoever sees this. Good job, @oDeano! 💯