Mailinglist Archive: opensuse (946 mails)

< Previous Next >
Re: [opensuse] logrotate
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Sat, 16 Sep 2017 08:12:58 +0200
  • Message-id: <opifda$u3h$2@saturn.local.net>
Dave Howorth wrote:

On Fri, 15 Sep 2017 20:56:03 +0200
"Carlos E. R." <robin.listas@xxxxxxxxxxxxxx> wrote:
On 2017-09-15 19:42, Per Jessen wrote:
What I find less easy is to tell when cronjob is going to fire

a) at 30 minutes past every 3rd hour.
b) at 2,17,32,47 minutes past every hour
c) 10 past midnight on the 1st of the month.
d) Sunday at 04:00.

LOL. Those are not actually cronjobs :-P

Eh?

First I copy the comment that should be in every crontab:
# min hr DoM month DoW [uid] command

#a
30 1,4,7,10,13,16,19,22 * * *
#b
2,17,32,47 * * * *
#c
10 0 1 * *
#d
00 4 * * Sun

What's not to like?

Good example with "1,4,7,10,13,16,19,22", the actual job just uses
"30 */3 * * *", but I also use the kind with an offset.



--
Per Jessen, Zürich (10.1°C)
http://www.dns24.ch/ - free dynamic DNS, made in Switzerland.


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

< Previous Next >