On 2017-11-05 07:11, Rich Freeman wrote:

> But, I agree that it makes far more sense to just have desktop users
> use an appropriate cron implementation designed to handle the machine
> being off most of the time vs trying to use shell scripting to make
> vixie cron into such an implementation.
> 
> FWIW this is probably the reasoning behind including cron-like
> functionality in systemd, and having it support optionally running
> jobs if the system was down during a calendar-based event.  It was
> considered bare-bones functionality that any desktop or generic server
> would need.

If Kai is right that fcron handles it, the reason is probably systemd
people thought that had to match the functionality to be considered a
full replacement.  Especially since fcron is the normal system cron on
Fedora/RH, right?

> I personally use systemd-cron which basically is a wrapper+generator
> around /etc/crontab and the various /etc/cron.*/ scripts.

If your dislike for having this in cron itself comes down to shell
script vs. C code, and it appears so from the above, I'm not at all sure
I agree.  This to me seems one of the few tasks where shell script is in
fact a good fit: mainly looking at files, timestamps, and running other
programs. 

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
To reply privately _only_ on Usenet, fetch the TXT record for the domain.

Reply via email to