From: Klaus Jungmann <k.jungmann@ju-ja.de>
To: gentoo-user-de@lists.gentoo.org
Subject: Re: [gentoo-user-de] fcron Job's organisieren
Date: Sat, 8 Oct 2005 14:03:18 +0200 [thread overview]
Message-ID: <200510081403.21502.k.jungmann@ju-ja.de> (raw)
In-Reply-To: <200510081232.13317.nils-lists@freenet.de>
Hi Nils
Danke für den Tipp. Ich hatte zwar gehofft, eine Abhängigkeit zwischen den
Jobs reinbringen zu können, so nach dem Motto, "Hey ich bin fertich, du
kannst loslegen". Werds jetzt aber mit den Zeitfenstern testen. Das der
Rechner ne ganze Woche nicht läuft, befürchte ich eigentlich nicht, aber er
läuft halt auch net Rund um die Uhr.
Danke auch Martin, werds aber erst mal so probiern \/ .
Gruß an alle Klaus.
Am Samstag, 8. Oktober 2005 12:30 schrieb Nils Andresen:
> Am Samstag, 8. Oktober 2005 11:47 schrieb Klaus Jungmann:
> > und dann das sync. Wie kann ich fcron jetzt aber überzeugen, dass zuerst
> > --sync und wenn das fertich ist -uDp gemacht wird.Hier meine config.
> >
> > # run every day
> > %daily * * /usr/bin/emerge --sync > /home/mogli/Desktop/rsync.txt
> >
> > # run every week
> > %weekly * * /usr/bin/updatedb
> > %weekly * * /usr/bin/emerge -Dupv world > /home/mogli/Desktop/update.txt
>
> Die zwei Parameter hinter daily und weekly sind Einschränkungen zum Start
> (Minuten, dann Stunden).
> Also:
>
> # run every day
> %daily 0-20 * /usr/bin/emerge --sync > /home/mogli/Desktop/rsync.txt
>
> # run every week
> %weekly 20-40 * /usr/bin/updatedb
> %weekly 40-59 * /usr/bin/emerge -Dupv world >
> /home/mogli/Desktop/update.txt
>
> Startet den Sync täglich um ?:00-?:20 Uhr
> Wöchentlich das eupdatedb aber nur bei Minuten zwischen 20 und 40.
> Anschließend ab der 40. Minute das update.
>
> Die Kommandos werden ausgeführt sobald es möglich ist, also mit großer
> Wahrscheinlichkeit zur Minute 0, 20 bzw. 40.
>
> Ein Problem sehe ich hier noch :
> Wenn der Rechner länger als eine Woche aus war, und zwischen Minute 40 und
> 59 gestartet wird, dann macht er das Update, ohne vorher sync oder
> eupdatedb zu machen.
>
> Ich hoffe das hilft.
> Grüße,
> Nils
--
Klaus Jungmann
kjungmann@ju-ja.de
http://www.ju-ja.de
-------------------
'Gentoo amd64 mit cryptsetup-luks' HowTo auf
http://www.ju-ja.de/linux/linuxindex.html
--
gentoo-user-de@gentoo.org mailing list
next prev parent reply other threads:[~2005-10-08 12:04 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-08 9:47 [gentoo-user-de] fcron Job's organisieren Klaus Jungmann
2005-10-08 10:09 ` Martin Winkler
2005-10-08 10:30 ` Nils Andresen
2005-10-08 12:03 ` Klaus Jungmann [this message]
2005-10-08 15:37 ` Felix Schuster
2005-10-08 16:24 ` Sebastian Damm
2005-10-08 17:57 ` Klaus Jungmann
2005-10-08 18:59 ` [gentoo-user-de] Probleme mit onboard-Soundkarte anun-ra
2005-10-08 17:55 ` Sebastian Damm
2005-10-08 20:07 ` Markus Roesenberger
2005-10-08 18:27 ` Sebastian Damm
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200510081403.21502.k.jungmann@ju-ja.de \
--to=k.jungmann@ju-ja.de \
--cc=gentoo-user-de@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox