3 ms·
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 someth
by wkdneidbwf 4y ago
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.
- tenplusfive 4y agoSometimes 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-auto-scaling-scheduled-scaling.html 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-create-rule-schedule.html 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.