News for hackers. Stuff that matters.
Re:Cron checker by Animats on Saturday July 16, 2016 @02:12AM (#12105433)
This is why the UNIX approach of using flat text files for dynamic information is obsolete. It seems so simple to have a text file. But then you need an editor, a locking system, access control, and a checker. And probably something to remove orphaned lock files and detect corrupted data.

Those are all database functions. In UNIX/Linux, each configuration file has its own mechanism for all that. They're all inferior to SQLite.

Re:Cron checker by jstimpfle on Saturday July 16, 2016 @06:49AM (#12105928)
Crontab is an excellent example of situations where text files are superior. You are welcome to try to design a database schema that is safer or easier to use.

Most of the things living under /etc are not databases. crontab certainly isn't:

- Only a single "table" (no table-relations)

- No standard database type exists for columns (how would you model the scheduling as database types, how would you model the shell command as database types, if not simply as sanitized strings)

So you can't get integrity for free. Need a custom parser and some integrity checks. Not so difficult (yes, cron will give instant feedback for the unlikely case that you did something wrong)

Re: editor, locking, access control:

I have an editor and prefer it to writing SQL DML any day.

File updates (rename(2)) are atomic, so no need for additional locking. And even if there is some broken tool writing to the old file instead of rename, the chances of that being simultaneous with a parse are microscopic. Don't overdesign. (there are many more things that can go wrong in a system that you can't possibly design out. Live with it).

Access control: Standard file permission modes are just fine. More complex permission model would be a serious overdesign. You can get granularity by using separate crontabs.

Checker: Never needed an additional tool to format the meaning as human-readable text. The syntax is a bit ugly but quite easy to remember and use.

Re:Cron checker by cma on Saturday July 16, 2016 @07:26AM (#12105999)
A cron job kicks off that makes the whole system unresponsive, undergoing heavy swap (updatedb used to do this and ran every night on many default systems).

Someone edits a cron file in the most common editor, vim. On many systems it doesn't do an atomic swap on save without extra configuration: http://stackoverflow.com/questions/13563627/how-does-vim-sav...

Now maybe your unresponsive, undergoing swap, system misses a cron job that was present in both edits. Opps.

I'm not sure this could really play out, but the approach definitely sounds firmly on the "worse is better" side of the scale.

Re:Cron checker by krunaldo on Saturday July 16, 2016 @07:36AM (#12106012)
crontab -e is the way to edit your cron. A similar command exists for editing the sudoers file which is visudo. This will ensure your configuration is a valid syntax as well as do an atomic swap of the file.

Otherwise adding a file or deleting a file in /etc/cron.d/ is the way to go for automatic(ansbile, puppet etc) and package installations.

Re:Cron checker by krrrh on Saturday July 16, 2016 @10:11AM (#12106379)
I'm surprised that people would edit cron in any other way, crontab -e is one of the first commands most intro to Linux manuals teaches.

However crontab -r has to be one of the most poorly thought out commands in UNIX. It removes the cron file and since r is only one character over from e on qwerty keyboards it's a painful and surprising typo.

Re:Cron checker by mooneater on Saturday July 16, 2016 @11:16PM (#12108881)
first thing when logging into new server: place /etc under git. then loss of cron files (or any config file) is easily recovered from.
Re:Cron checker by pferde on Sunday July 17, 2016 @03:47AM (#12109397)
Except that crontabs are usually somewhere in /var. :)
Re:Cron checker by mooneater on Sunday July 17, 2016 @10:53PM (#12113010)
Which is why I only use system-wide crontabs, in /etc/cron.d

Instead of per-user crontabs. Much easier to manage.

With cron.d you can specify what user each cron entry should run as, so it is equivalent.

Re:Cron checker by Drdrdrq on Sunday July 17, 2016 @01:37AM (#12109141)
This is a brilliant idea - thank you!
Re:Cron checker by mooneater on Sunday July 17, 2016 @10:55PM (#12113015)
I cannot count the number of times this has helped or saved me. You can keep the /etc git repo local. Or if its a critical server, push to github private repo. Seeing a history of your /etc edits is a very reassuring feeling.
Re:Cron checker by efiala on Saturday July 16, 2016 @10:37AM (#12106456)
what if you are managing the crons externally, eg puppet, crontab -e is not always option
Re:Cron checker by Godel_unicode on Saturday July 16, 2016 @12:01PM (#12106752)
1. If you don't have a test process for changes made with puppet, this is hardly a problem with cron.

2. Puppet handled that parsing for you and will throw errors if your syntax is wrong

Re:Cron checker by _ao789 on Saturday July 16, 2016 @01:09PM (#12107030)
I can't tell you the amount of times I've hit -r by mistake and regretted it..
Re:Cron checker by michaelcampbell on Saturday July 16, 2016 @03:46PM (#12107617)
I can. 0. There, more anecdata.

Honestly though, I never use `-e` either. I keep a ~/.crontab and edit that, and then `crontab ~/.crontab`.

Voila, backup/time machine/git friendly crontab.

Re:Cron checker by benjojo12 on Sunday July 17, 2016 @05:29PM (#12111940)
I got bit by this once, and had to rescue the crontab out off the disk with GNU strings :(
Re:Cron checker by dajohnson89 on Saturday July 16, 2016 @05:14PM (#12107899)
Have a cronjob that backs up your crontab?
Re:Cron checker by hibbelig on Saturday July 16, 2016 @12:54PM (#12106968)
Use /bin/cat as editor. That should work nicely from Puppet.
Re:Cron checker by Animats on Saturday July 16, 2016 @01:38PM (#12107152)
crontab -e is the way to edit your cron. A similar command exists for editing the sudoers file which is visudo. This will ensure your configuration is a valid syntax as well as do an atomic swap of the file.

And there's "vipw" for the password file. Each of them with their own separate updating bugs.

Re:Cron checker by jstimpfle on Saturday July 16, 2016 @07:37AM (#12106016)
"Worse is better" is an oxymoron. You can also read it as "better is worse". In "worse is better", the "worse" isn't really worse in practical settings (considering all tradeoffs, giving appropriate weights to design goals, etc.).

Nobody argues that there can't be problems. What all critics miss is to show how to avoid these problems.

What can you do about jobs that make the system unresponsive? Not a problem for cron to solve.

If someone writes a crontab (instead of rename()ing another version over it), that's not cron's fault. Sqlite databases can be just as easily corrupted or lose integrity. Now which format would you rather repair?

Missing a cron job can not be totally avoided, and it isn't the end of the world. What if your machine goes down or cron crashes? The answer is that the jobs themselves have to be provided with some resilience against that situation.

This isn't a case of "worse is better" since there weren't proposed solutions to the "problems" at all, however unrealistic.

Re:Cron checker by pekeler on Saturday July 16, 2016 @11:44AM (#12106705)
This is a perfect example for why you ought to monitor all your cronjobs with something like https://wdt.io.
Re:Cron checker by cel1ne on Saturday July 16, 2016 @07:04AM (#12105952)
Not all databases follow a relational model with tables or schemas. I guess what he meant is that a key-value store would have some merits over files. Kinda like Window's registry.
Re:Cron checker by jstimpfle on Saturday July 16, 2016 @07:14AM (#12105968)
He explicitly mentioned sqlite. Key-value stores could not improve on that since RDBMS generalize key-value.
Re:Cron checker by Zardoz84 on Saturday July 16, 2016 @08:33AM (#12106136)
Bad example. Windows registry is well know as a source of problems.
Re:Cron checker by ckastner on Saturday July 16, 2016 @04:56AM (#12105716)
This comment doesn't make sense to me at all.

Editor: of course you need some way to input data, and an editor is the simplest interface. You need to generate SQL to store data in SQLite and that's certainly not simpler.

Locking system: the OS/filesystem can provide this just as well as a database can.

Access control: same answer

Checker: input needs to be validated for its intended task and SQLite won't magically make this requirement disappear.

Re:Cron checker by edoceo on Saturday July 16, 2016 @12:30PM (#12106877)
Who edits crontab by opening in the editor directly? Using `crontab -e` is what the manual says to do (cron, fcron, dcron)

Or did we not read the manual, then complain about broken stuff and follow that with an over-enginered "solution" to a problem that didn't exist.

Re:Cron checker by Spivak on Saturday July 16, 2016 @02:36AM (#12105490)
You probably wouldn't want to use text files for actual database information, but they're perfect for code and configuration.

The syntax of cron isn't the most intuitive but it's powerful and would make even less sense in a database.

Re:Cron checker by tdicola on Saturday July 16, 2016 @02:57AM (#12105531)
That's the point though, if it's in a database you can have any number of awesome tools, text or GUI, to manipulate the state. And you don't need to reinvent the wheel to deal with atomic updates to the state, etc.
Re:Cron checker by jstimpfle on Saturday July 16, 2016 @06:19AM (#12105861)
There is no need for a database. File updates are atomical. Editors rewrite the whole file.

Also the tools argument just isn't true. A well designed plain text format is easier to parse with a one-off parser than with ugly one-off SQL queries. The reason that not many GUIs exist for plain text formats is that they are already designed to be easy to use. There are few cases where GUIs make sense.

From the top of my head, the only configuration GUI I regularly use is firefox's. Not that it wouldn't be possible to come up with a clean plain text design that would be easier to use.

Also most of the stuff is not represantable as relations. I'm looking forward to see how you encode a shell command in relations.

Re:Cron checker by JdeBP on Saturday July 16, 2016 @07:04AM (#12105951)
There's more to atomic updates than "rewrite the whole file", note. The way that text editors usually rewrite whole files in place, preserving hard links, is most definitely not an atomic update.
Re:Cron checker by jstimpfle on Saturday July 16, 2016 @07:08AM (#12105957)
The typical way to do it is to write a new file. Not that it would matter in practice for configuration files.
Re:Cron checker by tdicola on Saturday July 16, 2016 @05:47PM (#12108006)
So what happens when your 'atomical' text update tool reads in the text file to memory, makes some changes, then the file changes on disk from another unrelated process, and your tool writes the file back out losing the previous changes?
Re:Cron checker by dsmithatx on Saturday July 16, 2016 @03:42AM (#12105609)
Write a bash script to manage your cron and you can do the same thing in a terminal. Use http://freecode.com/projects/zenity or something similar for your new awesome GUI tool. I think for most people cron is simple enough to just google when they need the syntax. Although this crontab.guru site is 1000 time nicer than most google searches for help.

I don't think a database would offer anything unless it was managing 1000's of cron servers. Flat text is fine and easier to parse than querying a database and adding a dependency. A database is a huge requirement to ask for to manage a few simple files.

Re:Cron checker by scrollaway on Saturday July 16, 2016 @02:34AM (#12105481)
Can someone explain to me how crontabs, and cron syntax, are still so popular and one of very few options available?

It's not like crontabs are written all the time. They don't need to be so terse. They shouldn't require learning a language... they shouldn't require a cron.guru website. Systemd timer syntax (https://wiki.archlinux.org/index.php/Systemd/Timers#Example) is far more readable, and there's still a lot of room for improvement.

Re:Cron checker by audleman on Saturday July 16, 2016 @02:54AM (#12105524)
Sure. Spend a focused 10 minutes to really try and understand them and you'll realize that a cron line is a perfectly concise and flexible syntax for creating scheduled time events. It even handles that crazy case where you want to run on a specific day of the week. Cron lines may seem arcane at first, but then again have you ever tried to write code that was timezone aware? Welcome to a special kind of hell. What I'm trying to say is there's complexity there and you'll be a better programmer if you embrace it.

Unix programmers aren't in the habit of throwing out a working system because it's hard to grok, nor building something more complex then it needs to be. I took a look at your systemd timers link and it is a more complex syntax to create the same effect. From their own caveats section:

> Complexity: to set up a timed job with systemd you create two files and run a couple systemctl commands. Compare that to adding a single line to a crontab.

Re:Cron checker by scrollaway on Saturday July 16, 2016 @03:03AM (#12105544)
> Spend a focused 10 minutes to really try and understand them

I've spent the past years doing that. I do understand cron. I also strongly dislike it. You could build a thriving city within the bounds of the room there is for improvement.

> It even handles that crazy case where you want to run on a specific day of the week.

So does systemd's cron. Supporting "crazy cases" doesn't mean the syntax has to suck.

> Cron lines may seem arcane at first, but then again have you ever tried to write code that was timezone aware?

Yes...

Re systemd: It's one example; it's not perfect, I wouldn't even call it good, but it's leagues ahead of cron in terms of UX already. Bonus: usage of the ini format means it's programmatically much easier to interact with the cronjob itself.

Re:Cron checker by koytch on Saturday July 16, 2016 @04:08AM (#12105654)
It's ugly, simple and flexible. I can live with its ugliness (I don't change my crontab every day, after all) and simplicity and flexibility beat ini format/UX/etc. any time AFAIC.
Re:Cron checker by berntb on Saturday July 16, 2016 @04:33AM (#12105690)
My main problem with the cron syntax is that is error prone. I'd like it to be a bit harder to get correct syntax when you write something wrong.

But a simple GUI could take care of that.

Re:Cron checker by bpchaps on Saturday July 16, 2016 @03:55PM (#12107638)
Something curses based would be nice - no need for a GUI ;). Cron's syntax can be hellish. For example, % is treated as a special newline character (ugh) so that commands like this don't work - and it's very difficult to troubleshoot:

  appstartup.sh | tee -a app.`date +%Y%m%d`.log
Re:Cron checker by bpchaps on Saturday July 16, 2016 @03:52PM (#12107633)
Agreed. I've been a sysadmin for about ten years now and absolutely loathe them. At the surface, they're simple to use, but it very, very quickly becomes a headache as the server count increases. That, and just about everyone who uses cron forgets to clean up their old messes or adds random scripts here and there, which makes a machine's crontab very, very messy. It makes finding a rogue cron job very, very difficult to find sometimes.
Re:Cron checker by morgante on Saturday July 16, 2016 @09:00AM (#12106204)
> concise

Why is having the format be so concise and terse a virtue?

They could keep the flat file approach and everything about the system identical but just make it more explicit. Cron usage would become much simpler.

Re:Cron checker by Bromskloss on Saturday July 16, 2016 @04:54AM (#12105713)
> It even handles that crazy case where you want to run on a specific day of the week.

Does it handle the, in my opinion, not crazy case of running something every, say, 100 seconds?

Re:Cron checker by borski on Saturday July 16, 2016 @04:58AM (#12105718)
Sadly, no. The minimum granularity is in minutes.
Re:Cron checker by Bromskloss on Saturday July 16, 2016 @05:14AM (#12105747)
What about every 100 minutes?
Re:Cron checker by mappu on Saturday July 16, 2016 @09:58PM (#12108702)
If you're really stuck with this requirement, and vixie cron is your only tool:

    */1 * * * * /usr/bin/bash -c '[[ $(( $(/usr/bin/date +%s) % 6000)) -eq 0 ]] && mycommand'
Re:Cron checker by jstimpfle on Saturday July 16, 2016 @06:23AM (#12105868)
It's not designed for frequencies that don't align well with the partition of time in months, weeks, days, hours, minutes.

But you probably can tweak your requirement slightly.

Re:Cron checker by edoceo on Saturday July 16, 2016 @12:35PM (#12106897)
With fcron the line looks like

    @100 /do/my/thing.sh
Re:Cron checker by pekeler on Saturday July 16, 2016 @01:57PM (#12107255)
Is fcron stateful so that it remembers if the schedule started today at midnight, the first time it should run tomorrow is at 1am?
Re:Cron checker by edoceo on Saturday July 16, 2016 @03:35PM (#12107581)
As far as I can tell and if IIRC its across reboots too. I can't remember all the reasons I moved to fcron (10+ years ago) but the @# syntax was one factor
Re:Cron checker by Bromskloss on Sunday July 17, 2016 @04:18PM (#12111614)
> the @# syntax

Watch your language!

Re:Cron checker by bahjoite on Saturday July 16, 2016 @05:46AM (#12105802)

  */100 * * * * echo "every 100 mins"
Re:Cron checker by soneil on Saturday July 16, 2016 @06:04AM (#12105832)
Have you tried this? Since minute only counts from 0-59, it's never divisible by 100.

I have a similar problem with "every 2 days". */2 looks simple enough, but it fires on the 29th, miss 30th, fires on 31st, then fires the 1st. 3 times in 4 days isn't "every 2 days".

Cron only works for periods which are evenly divisible into the calendar. "every 7 minutes" doesn't work because 60 isn't evenly divisible by 7. "every 5 hours" doesn't work (in that it'll match 8pm and midnight, which are only 4 hours apart), etc.

Re:Cron checker by bahjoite on Saturday July 16, 2016 @10:29AM (#12106425)
You're right; thank you for pointing out my mistake. Every day's a school day.
Re:Cron checker by gkya on Saturday July 16, 2016 @08:51AM (#12106173)
Well in cron "every two days" is more like "every second day of a month", and "ever 5 hours" like "every fifth hour of a day".
Re:Cron checker by soneil on Saturday July 16, 2016 @09:37AM (#12106281)
I guess that's what I was getting at. "every 100 minutes" doesn't work, because cron reads it as "every 100th minute of an hour".
Re:Cron checker by jwilk on Saturday July 16, 2016 @03:45PM (#12107610)
0 is divisible is by 100.
Re:Cron checker by Spivak on Saturday July 16, 2016 @02:47AM (#12105509)
Because it's not nearly as bad as people describe, it's extremely powerful, it's quite clever, and there's really not even a language to learn -- it's just regex/grep for timestamps.

Cron ticks every minute and checks to see if any crontab entries match the current time, if so it runs the job. But standard regular expressions aren't well suited to the types of patterns people normally try to express which is why they use their own syntax.

Re:Cron checker by smhg on Saturday July 16, 2016 @03:27AM (#12105591)
Alternatively, there is the iCalendar recurrence rule syntax [0]. It shows how complex recurrency rules can get.

Cron could be considered as a good mix between complexity and brevity (readability).

Shameless plug: I tried to create a format in-between both in a JS project [1]. It is based on the ISO 8601 duration format [2], but it's better to stick to iCalendar.

[0] https://tools.ietf.org/html/rfc2445#section-4.3.10

[1] https://github.com/smhg/date-frequency-js

[2] https://en.wikipedia.org/wiki/ISO_8601#Durations

Re:Cron checker by ckastner on Saturday July 16, 2016 @04:42AM (#12105698)
The crontab syntax is popular because it has been standardized by POSIX:

http://pubs.opengroup.org/onlinepubs/7908799/xcu/crontab.htm...

In a sense, crontabs are the lowest common denominator for scheduling tasks on POSIX-compliant systems.

Re:Cron checker by JdeBP on Saturday July 16, 2016 @07:18AM (#12105975)
Very few? There's a whole range of options available, from Paul Jarc's runwhen to Bruce Guenter's bcron.

* http://code.dogmap.org/runwhen/

* http://untroubled.org/bcron/

Re:Cron checker by tdkl on Saturday July 16, 2016 @04:31AM (#12105688)
That's funny, because IMHO they both suck and require a certain time to master them. Systemd timers are just a bit different syntax, but as I first opened the linked cron.guru site, I thought about how cool it would be if it displayed the same for systemd timers as well.
Re:Cron checker by michaelt on Saturday July 16, 2016 @06:56AM (#12105935)
Introducing a new, simpler design only simplifies things if you kill the old design. Otherwise everyone needs to know both and their lives aren't any simpler.

Killing off old designs is exceptionally difficult for Unix. Hell, Microsoft can barely force an upgrade on everyone and they don't have a hundred forked distros.

Re:Cron checker by lifthrasiir on Saturday July 16, 2016 @07:13AM (#12105963)
No, it is NOT a problem of using flat files. It is a problem of using files. The files are the serialized initial values for the run-time configuration, which may or may not be changed. SQLite is no superior to flat files in that, and in fact, can be damaging if the user managed to break the invariant and the invariant is not checked.

The configuration system absolutely demands the locking system (to alter it) and the checker (to correctly check if it is correct before the changes are ever committed). SQLite can provide some of them, but not all---most importantly, SQLite's locking system is independent of the runtime configuration which requires separate locking system (however rudimentary).

Re:Cron checker by abpavel on Saturday July 16, 2016 @07:26AM (#12105998)
> It is a problem of using files.

In UNIX, everything is a file

Re:Cron checker by dozzie on Saturday July 16, 2016 @01:17PM (#12107069)
Oh, if only. Network interface is not a file. Process is not a file (though some of its metadata is accessible through different files under different unices). IPv4 routing entry is not a file. User account is not a file.

Do you see a pattern?

Re:Cron checker by abpavel on Sunday July 17, 2016 @04:21AM (#12109460)
Network interface: /sys/class/net/<name> Process: /proc/<id>/ IPv4 Route: /proc/net/route User account: /etc/passwd
Re:Cron checker by dozzie on Sunday July 17, 2016 @04:54AM (#12109511)
OK, configure the network interface this way. Oh, you can't. So it is not a file, it just has some metadata exposed with a file interface.

Create a process in the same manner. Oh, again you can't do that. What a shame.

And with route and user account examples you confuse being a file and being a record in a file (which, couriously, is not a file itself).

Re:Cron checker by abpavel on Sunday July 17, 2016 @09:50AM (#12110160)
You mean /etc/network/interfaces? I can set tx queue length of eth0 to 300 packets: echo 300 > /sys/class/net/eth0/tx_queue_len Or change frame forwarding behavior from switch to hub: cat 0x65535 > /sys/class/net/vnet0_11/bridge/group_fwd_mask

Granted, it's not possible to change IPv6 address through /proc/net/if_inet6, but just because I don't know about it, doesn't mean that it isn't possible.

Re:Cron checker by dozzie on Sunday July 17, 2016 @06:29PM (#12112189)
> You mean /etc/network/interfaces?

No. It's a configuration file for a separate set of tools that actually configure the interface for you. You can't set its current IP address by writing to any file.

> I can set tx queue length of eth0 to 300 packets: echo 300 > /sys/class/net/eth0/tx_queue_len Or change frame forwarding behavior from switch to hub: cat 0x65535 > /sys/class/net/vnet0_11/bridge/group_fwd_mask

Sorry, no banana; you only can control two or three aspects this way, and not the most fundamental ones at that.

Network interface is simply not a file, it's a separate OS-level construct, it's not exposed to userland as a file. Not everything in Linux or unix is a file, even though many things (the ones more remote from kernel) are.

Re:Cron checker by lifthrasiir on Saturday July 16, 2016 @07:30AM (#12106002)
If I were not clear enough, it is a problem of treating configuration files as like the runtime configuration. Not a problem of file formats (though some formats ease the job)---does this make sense?
Re:Cron checker by olgeni on Saturday July 16, 2016 @03:42AM (#12105610)
Let's have a "registry".
Re:Cron checker by IshKebab on Saturday July 16, 2016 @05:36AM (#12105784)
Yes, KDE and Gnome both have registries.

Just because Windows' registry is hard to manually edit doesn't mean they are a bad idea. Look at how much better Windows' GUI configuration tools are than anything on Linux. They all use the registry.

Re:Cron checker by jstimpfle on Saturday July 16, 2016 @06:12AM (#12105854)
Registry has some serious practical problems. How do I easily list, or copy to another machine, the settings for application X? For technical users these are the most important operations. I know how to view or copy a text file...

An associated problem is that the registry accretes trash that is never weeded out (and it's hard to weed it out).

Also at least in former times it was slow (partly because of the trash thing, probably partly because of the implementation, partly because of the centralised design).

Re:Cron checker by Godel_unicode on Saturday July 16, 2016 @12:25PM (#12106859)
Right-click that program's config hive, export. Move file to new system, merge. I did this very frequently before PowerShell got amazing support for the registry (seriously, it's the best. Tab completion of registry values in get-childitem if you supply a registry path).

> ...accretes trash

If your app doesn't remove it's old settings when uninstalled how is that a problem for the registry to solve? It happens with /etc also.

> hard to weed it out

Search for the hives if you don't know where they are. Right-click the hives in question, delete.

Registry usability got leaps and bounds better in Windows 7, and again in Windows 10. Most registry problems you hear about are holdovers from the bad old days (XP and older).

Re:Cron checker by ComodoHacker on Saturday July 16, 2016 @12:20PM (#12106836)
>How do I easily list, or copy to another machine, the settings for application X?

with reg query, reg export and reg import commands, respectively. Or with a few clicks in the GUI, if you prefer.

Re:Cron checker by markdown on Saturday July 16, 2016 @06:01AM (#12105823)
> Just because Windows' registry is hard to manually edit doesn't mean they are a bad idea.

That's not the problem with Windows registry.

Re:Cron checker by wfunction on Saturday July 16, 2016 @06:11AM (#12105850)
>> Just because Windows' registry is hard to manually edit doesn't mean they are a bad idea.

> That's not the problem with Windows registry.

What is?

Re:Cron checker by markdown on Saturday July 16, 2016 @07:46AM (#12106035)
Re:Cron checker by wfunction on Saturday July 16, 2016 @03:05PM (#12107486)
Your link explicitly says you're wrong, though. Read it. It says:

> My life would be a heck of a lot easier if per-application settings were stored in a place I could easily see them, manipulate them, and back them up. Like, say... in INI files.

> The registry is opaque and binary. As much as I dislike the angle bracket tax, at least XML config files are reasonably human-readable, and they allow as many comments as you see fit.

Now look at the comment you replied to:

> Just because Windows' registry is hard to manually edit doesn't mean they are a bad idea.

You said that's not the problem with the registry, but your own link says that's exactly the problem with the registry...

Re:Cron checker by eli on Saturday July 16, 2016 @06:36AM (#12105895)
The filesystem is a type of database. It isn't automatically better or worse than sqlite.
Re:Cron checker by dingaling on Saturday July 16, 2016 @06:10AM (#12105849)
> They're all inferior to SQLite

Which itself has all sorts of complications around locking. Can't write when another process has read-only lock, for example:

https://www.sqlite.org/lockingv3.html

Re:Cron checker by xorcist on Saturday July 16, 2016 @04:16PM (#12107726)
Yes, text files are useless. This "programming" thing will never take off. It would require an editor and code checking. Totally inferior to SQLite.

Makes sense.

Re:Cron checker by agumonkey on Saturday July 16, 2016 @02:20AM (#12105450)
Hourly.d