Rykian / clockwork

A scheduler process to replace cron.
MIT License
544 stars 66 forks source link

Accept wildcards when specifying day of week #72

Open Redithion opened 2 years ago

Redithion commented 2 years ago

The idea is to support wildcards when setting a day of week. A use case for this is if you want to send an alert every hour only on weekdays. Examples:

This was resolved setting NOT_SPECIFIED in both min and hour when matching that case (/\A([[:alpha:]]+)\s\*{1,2}:\*{1,2}\z/).

I've also updated the README reflecting this change.

Redithion commented 2 years ago

I don't know why CI fails, we are using this in prod with Ruby 2.1 and Ruby 2.7