Mailinglist Archive: opensuse (1620 mails)

< Previous Next >
[opensuse] Use crontabs (was Re: openSUSE-13.1: at 17:00 system begins thrashing: What is cause?)
Anton Aylward wrote:
On 11/19/2014 11:32 PM, Ruben Safir wrote:
On Tue, Nov 18, 2014 at 05:27:53PM -0600, Philip Amadeo Saeli wrote:

It has to have somethng to do with systemd

Either that's a joke or this is an obsession with you, blaming
everything you dislike, that other people complain about, on systemd.

Like "jdd's" comment on using film
based pictures vs. electronic, you seem to miss <content=silly> based

That's not to say that you can't do exactly what this present scheme is
going using systemd timers:

Oh, wait! That's actually easier! You can set io scheduling priority
as well as cpu scheduling priority!
Gee... and shell scripts have only had that ability for a decade
or so?

Personally, as a 24/7 style user I think this idea of scheduling *ALL*
the jobs to run *every* day at the same time is what is wrong headed.
If you use 'crontabs', they run like the old cron. Only things
put in /etc/cron.{timeperiod}, get run under the new method.

Backups and snapshots -- all get run with remarkable regularity:
Home-2014.10.23-03.07.02 Data -wi-ao--- 800.00m
Home-2014.10.31-03.07.03 Data -wi-ao--- 892.00m
Home-2014.11.04-03.07.03 Data -wi-ao--- 1.65g
Home-2014.11.06-03.07.06 Data -wi-ao--- 884.00m
Home-2014.11.08-03.07.02 Data -wi-ao--- 740.00m
Home-2014.11.10-03.07.02 Data -wi-ao--- 250.97g
Home-2014.11.12-03.07.07 Data -wi-ao--- 1.89g
Home-2014.11.17-03.07.07 Data -wi-ao--- 1.39g
Home-2014.11.18-03.07.05 Data -wi-ao--- 4.75g
Home-2014.11.20-03.07.08 Data -wi-ao--- 1016.00m
Home-2014.11.21-03.07.02 Data -wi-ao--- 1.60g
Home-2014.11.22-03.07.02 Data swi-aos-- 1.50t Home 0.12
Snapshot partitions and when they were created by this crontab entry:

7 3 * * * /bin/bash /home/law/bin/snaphome

Notice the timestamp embedded in the names... all within 2-8 seconds
past 3:07am.

The old CRON and the systemd.timer allowed for things like "not at
weekends" and "last Friday of the month". And also for more than once a
day but not hourly.
Cron can still do this:

30 4 2 1-12/3 * /root/bin/dumpshare 0
30 4 9-31/7 1-12/3 * /root/bin/dumpshare
30 4 2-31/7 2-12/3 * /root/bin/dumpshare
30 4 2-31/7 3-12/3 * /root/bin/dumpshare

Perhaps we need an alternate package, rather like the ability to install
Postscript OR Exim OR Sendmail. Something like Laptop-CRON or
Desktop-CRON or Server-CRON. The current cron being the Laptop-CRON.

I think you want "AND" -- so you can choose what you want,

rpm -qa|grep cron


Just use both. Wait, don't tell me, the new Xd doesn't allow this?

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >