News for hackers. Stuff that matters.
Re:GNU Mcron by jimktrains2 on Sunday May 06, 2018 @10:39AM (#17006564)
Sure, but there is nothing telling me it's adhearing to 8601 in that snippet. Why isn't it using the tm struct where Sunday = 0? I, what's that?, Have to check the documentation? ::gasp:: just like if you forget the order of the cron tab columns...
Re:GNU Mcron by tscs37 on Sunday May 06, 2018 @10:54AM (#17006607)
It's pretty intuitive once you've done it twice unlike cron's impenetrable syntax, tbh.

They also have other desirable behavior like being able to configure it concurrent runs are allowed or if the script should run if the initial date was missed or even restart the job if it fails up to a limit.

It's much more versatile than simply cron, due to that, it's also a lot more useful.

Re:GNU Mcron by jimktrains2 on Sunday May 06, 2018 @11:47AM (#17006811)
https://www.freedesktop.org/software/systemd/man/systemd.tim... is 1300+ words.

https://www.freebsd.org/cgi/man.cgi?crontab(5) is 1400 or so.

I'd hardly call that impenetrable. Additionally you will note that free bad has an extension to the format for shortcuts like monthly, weekly, &c.

Re:GNU Mcron by tscs37 on Sunday May 06, 2018 @11:58AM (#17006847)
I'm aware of the extension but Systemd Timers have RandomizedDelaySec which allows me to schedule nightly backups without having to coordinate about 20 different machines into timeslots.

I should note that `man crontab | wc` returns 1680 words while `man systemd.timer | wc` returns 1300 words. Take that for what you while, especially since .timer spends most words on explaining the options instead of the syntax.

Re:GNU Mcron by jimktrains2 on Sunday May 06, 2018 @02:49PM (#17007707)
There's little functional difference between syntax and options in this case, as the options in systemd serve the same purpose as the syntax iin crontab.

I just don't want cron doing randomized delay and repeats. That should functionally be determined by the application.

Re:GNU Mcron by tscs37 on Sunday May 06, 2018 @02:57PM (#17007763)
>I just don't want cron doing randomized delay and repeats. That should functionally be determined by the application.

I think it's perfectly fine that timer does this, it's useful. The applications I run don't support this behaviour out of the box, so why should I have to code up something for each app?

>There's little functional difference between syntax and options in this case,

There is an important difference. The manpage on timers spends most words explaining what exactly each option does and how it can be useful while most of the crontab manpage explains how the syntax works, the options crontab provides are minimal.

[dead]
Re:GNU Mcron by dang on Sunday May 06, 2018 @03:40PM (#17008047)
Commenting like this will get you banned here, and you've unfortunately been uncivil in the past too.

Please read https://news.ycombinator.com/newsguidelines.html and use the site as intended from now on.

Re:GNU Mcron by jimktrains2 on Sunday May 06, 2018 @05:30PM (#17008676)
I forgot that sarcasm isn't welcomed here, even when someone makes baseless and nonsensical claims.
Re:GNU Mcron by dang on Sunday May 06, 2018 @08:22PM (#17009516)
It isn't sarcasm that's unwelcome here, but snark and personal attacks.
Re:GNU Mcron by jimktrains2 on Sunday May 06, 2018 @09:07PM (#17009685)
Snark is just sarcasm you don't like.

I never attacked them. I simply found how they described cron extremely funny given that it's entirely contradictory to mine and pretty much everyone I've discussed sys admining with.

The man page, with system specific extension, is barely 1500 words long. That's neither impentrable nor complex.

I've just tired of dealing with people who have no way to describe things but with hyperbole, making an actual discussion difficult, if possible at all, because the facts of the matter can never be clearly stated. "I don't like cron because I can never keep the columns straight (and we can't keep comments in our crontab for w/e reason), the division symbol is used in a weird way, and I want _my_ services/code simple and my _system_ to handle complexity" is a much more honest way to complain about cron. Saying it's impenetrable is a load of BS and entirely unhelpful to the discussion.

So yes, I laughed at their response. No, it was not a personal attack. Finding someone's argument terrible and divorced from reality, or otherwise just hyperbole over known issues is not a personal attack. I'm making no judgement on them as a person. I'm not basing my response on anything except what they've said and constraint my response to be entirely within the scope of the argument, not extending it to them as a person.

Now, we can discuss if my response is helpful and furthers the discussion. Probably not. (Although,I did try to follow up with one that was.)

Was it uncivil or a personal attack? Absolutely not.

Re:GNU Mcron by otterley on Sunday May 06, 2018 @09:54PM (#17009857)
First, arguing with a moderator is unlikely to get you the outcome you're looking for.

Second, you're continuing even still with unwelcome, potentially hurtful, and overly-judgmental characterizations of another member's opinion and experience as a "load of BS," following your earlier characterization of someone's comment as "laughable." You may disagree with another's opinion, but there are less divisive ways to express it than how you've done it so far.

The majority of HN participants debate issues -- even ones that are contentious or may have "obvious" answers -- with an inclusive tone that conveys respect. We'd do well to look to them for inspiration.

Re:GNU Mcron by jimktrains2 on Sunday May 06, 2018 @10:38PM (#17010014)
I actually don't know who the moderators are here, nor am I looking for any specific outcome. Even if I knew all the mods, I would treat them as any other member. Not doing so would imply I treat other members poorly or that the mods have a god complex, neither of which I believe to be true. Moreover, if they deem me unfit to be a member of this community, I doubt grovelling and theatre would do any good.

> Second, you're continuing even still with unwelcome, potentially hurtful, and overly-judgmental characterizations of another member's opinion

None of which is a personal attack. It's quite literally impossible to not be hurtful to everyone all the time. It's not worth my effort to go out of my way to not be direct (which isn't rude).

It's more than possible to find an argument BS or laughable without that being a commentary on the presenter of said argument. Plenty of not-stupid people make stupid and shitty arguments -- myself included.

I expect my BS, poor arguments, and bad reasoning to be called out and corrected without needing to beat around the bush or otherwise sugar coat it. I'm an adult, I can accept when I'm wrong when presented with a convining argument. I expect others to find some of my opinions dumb, or otherwise incompatible with their world view. That isn't the other person being uncivil, disrespectful, or otherwise antagonistic or launching ad hominems. They shouldn't feel ashamed for voicing that either, many times over if I'm presenting my opinion as some universal truth.

> The majority of HN participants debate issues -- even ones that are contentious or may have "obvious" answers -- with an inclusive tone that conveys respect. We'd do well to look to them for inspiration.

What have I done that's disrespectful or otherwise not inclusive. It's very saddening that simply finding someone's opinion, especially one that's no where near deep-seated or otherwise a defining characteristic, so over the top with exaggeration that it's funny is now considered not inclusive or disrespectful.

People can be respected without needing to baby them and protect their egos.

However, arguments are not the people that make them. Arguments deserve no respect simply for existing. The fast bad, false, or ineffective ones die, the better. If we can't sit and discuss arguments and options without everyone taking it personally, we will never be able to get far as a society.

Re:GNU Mcron by dang on Sunday May 06, 2018 @10:45PM (#17010041)
You make some fine points, but the dominant consideration here is a simple practical one: we know from many years of experience what an internet forum turns into when people respond to others with "Give me a few minutes to recover from laughing, please. Impenetrable. Lololololol." and similar. It leads to flamewars, insults, and tire fires. The smart people get tired of it and leave. The rest keep flaming each other till nothing but scorched earth is left.

So, while I personally agree with some of what you said, I can't let you post like that, for the same reason that if I were a park ranger I wouldn't let you start dangerous fires. If you want to keep commenting here, please read https://news.ycombinator.com/newsguidelines.html and make a point of using the site as intended.

Re:GNU Mcron by jimktrains2 on Sunday May 06, 2018 @11:11PM (#17010152)
> we know from many years of experience what an internet forum turns into when people respond to others with "Give me a few minutes to recover from laughing, please. Impenetrable. Lololololol." and similar.

Fair point. It doesn't move the conversation forward in any useful way.

I'll keep my comments tuned to further a debate, and not just react aimlessly.

I'll also refresh on the guidelines.

Re:GNU Mcron by dang on Monday May 07, 2018 @05:16PM (#17016550)
Thanks!
Re:GNU Mcron by tscs37 on Sunday May 06, 2018 @11:54AM (#17006839)
>Give me a few minutes to recover from laughing, please. Impenetrable. Lololololol.

? It's a personal opinion, you can laugh all you want but that won't make it any more wrong than yours.

>Those just feel out of scope to me. Why would I want this tool to handle that?

I run my backups with a systemd timer. Since it's a desktop system it might not be online during a desired timeslot so the backup can be repeated once the machine becomes available after that. Additionally it prevents concurrent backup runs on my servers if a snapshot is taking longer for a reason (which does happen when too many servers get scheduled at the same time, which btw, is handled by having the timer with a random offset to the schedule which last I checked is not present in cron).

It's something I want this tool to handle, yes.

>So much laughing this morning! You should really try an open mic night!

Why? Because I find a tool that solves my problems useful? Sounds like you should reconsider your standpoint because to me it sounds like you claim that cron is the one true tool to solve timed scheduling of scripts. Which it clearly isn't since cron doesn't solve the problems I have.

Re:GNU Mcron by jimktrains2 on Sunday May 06, 2018 @02:49PM (#17007713)
No, I'm laughing at the thought of cron being impenetrable and complex.