News for hackers. Stuff that matters.
Re:Schedule cronjob for the first Monday of every month, the... by wkdneidbwf on Saturday September 24, 2022 @06:16PM (#32967029)
an excellent example of how not to do things. if you need something esoteric enough that no one is going to grok the crontab without thought then you use something else.
Re:Schedule cronjob for the first Monday of every month, the... by tenplusfive on Sunday September 25, 2022 @04:36AM (#32969831)
Sometimes you have constraints and are limited to crontabs. For example when you are using autoscaling on AWS EC2 (https://docs.aws.amazon.com/autoscaling/ec2/userguide/ec2-au...).

I know, with eventbridge and lambdas this problem could be alleviated a bit, since eventbridge uses cron syntax but with some added bells and whistles ( https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-...) which would make the expression for the first monday of each month much easier to write.