3 ms·
> I mean it should include things that are usually on the path, like /usr/local/bin. And for the root user it should include sbin. So changing the default PATH
by thomashabets2 4mo ago
> I mean it should include things that are usually on the path, like /usr/local/bin. And for the root user it should include sbin.
So changing the default PATH for cron requires a green field rewrite? You would expect /usr/local/bin. cron doesn't include it. It seems like a disagreement on default settings. I would agree with you about what the default should be, but I don't understand how this has anything to do with cron either as code or architecture.
This seems a bit like /sbin being missing in the default PATH for the root user's regular shell being a reason to rewrite bash to systemd shell.
- thayne 4mo ago> So changing the default PATH for cron requires a green field rewrite? I never claimed that. It's just one of many reasons why I think systemd timers are easier to use.