Hacker News new | ask | show | jobs
by systemvoltage 1015 days ago
Very much agree, I do wonder how can things like crontab be specified? The cron job syntax is its own fricking thing that I have to always look up. But then, I wonder, how else can it be specified? yaml file?
1 comments

I've spent way too many hours this week looking for a better model for configurable timers than cron.

Cron is kind of awful, not just the syntax but the logic. You can't say "Every three days but not on Monday, if it would land on a Monday, defer that run till the next selected day".

There is also too many ways to say the same thing, so GUI editors are hard.

Yeah, basically it needs to be Turing complete but it falls short. Then why not just give us Lua or some real programming language. There is no real need for a cryptic single line syntax.