[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: crontab gelöscht



Also sprach Ace Dahlmann <ace@hs-media.net> (Mon, 12 Dec 2005 15:00:06
+0100):
> Hi,
> 
> wo bekomme ich denn die am besten die Standard-Crontab /etc/crontab
> wieder her, wenn ich sie aus versehen gelöscht habe? :o) Ich hatte nur
> eine einzige Zeit geändert.


----------------8<-----------------
# /etc/crontab: system-wide crontab
# Unlike any other crontab you don't have to run the `crontab'
# command to install the new version when you edit this file.
# This file also has a username field, that none of the other crontabs do.

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
17 *    * * *   root    run-parts --report /etc/cron.hourly
25 6    * * *   root    test -x /usr/sbin/anacron || run-parts --report /etc/cron.daily 47 6    * * 7   root    test -x /usr/sbin/anacron || run-parts --report /etc/cron.weekly 52 6    1 * *   root    test -x /usr/sbin/anacron || run-parts --report /etc/cron.monthly
#
-----------------8<-----------------

> Mein Cron-Paket ist
> 
> # apt-cache policy cron
> cron:
>   Installed: 3.0pl1-86

Du kannst dir auch das entsprechende .deb vom debianmirror holen und
mit dpkg -x .deb ./irgendwohin entpacken und diese Original nehmen.

sl ritch



Reply to: