Rocketseat / adonis-bull

The easiest way to start using an asynchronous job queue with AdonisJS. Ready for Adonis v5 ⚡️
MIT License
308 stars 57 forks source link

how do i schedule a task to repeat every 1st of the month or choose the day? #96

Closed gabrielbanzai closed 3 years ago

gabrielbanzai commented 3 years ago

Description of issue

I know we can schedule a job to run weekly. Is there the possibility of running the monthly repetition choosing the day or would I have to perform the daily check to perform in such a way?

Usage example

https://github.com/Rocketseat/adonis-bull#advanced-jobs

gabrielbanzai commented 3 years ago

I found the way to do this. I didn't know what Cron Expressions are, now I understand how it works. They can be tested simply on links like this

https://bradymholt.github.io/cron-expression-descriptor/