crontab puzzlement
David Fletcher
dave at thefletchers.net
Mon Apr 3 21:06:04 UTC 2023
On Mon, 2023-04-03 at 21:22 +0100, Colin Law wrote:
> Cron ORs together dom and dow, so if the dom is 25-30 OR dow is 1-5
> then it will play.l
> If you want just 25th to 30th then use * for dow
>
> Colin
>
AHA! That explains it thanks. I'm sure there must be a reason for the
OR behaviour but it means that it can't for example do something
different at weekends during a range of DOMs.
I've edited the entries accordingly and will be checking it out
tomorrow.
The purpose of this is to run outdoor speakers via a little audio amp
to try to attract swifts to my nest box as they return from migration
hence I don't want to annoy my neighbours too much when they're not out
at work during weekends.
Dave
More information about the ubuntu-users
mailing list