Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2001 07:09:51 -0500
From:      David Leimbach <leimbacd@bellsouth.net>
To:        "Matthew King" <Matthew@GhostMedia.org>, questions@freebsd.org
Subject:   Re: Crontab Help
Message-ID:  <01072707095100.00642@mutt.home.net>
In-Reply-To: <000801c1166f$2d0afbc0$0200a8c0@ghostbox>
References:  <000801c1166f$2d0afbc0$0200a8c0@ghostbox>

next in thread | previous in thread | raw e-mail | index | archive | help
You should really be using "crontab -e" to edit your crontab entries.
Otherwise the crontab program may not add your new commands to the queue 
of jobs to be done.

Having never probed the innards of my crontab files manually I am not exactly
sure what it is that you posted.

Dave

On Friday 27 July 2001 02:36, you wrote:
> hello for some reason my crontab is working
> this is what my crontab looks like atm
>
> # /etc/crontab - root's crontab for FreeBSD
>
> #
>
> # $FreeBSD: src/etc/crontab,v 1.21.2.3 2000/12/08 10:56:07 obrien Exp $
>
> #
>
> SHELL=/bin/sh
>
> PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
>
> HOME=/var/log
>
> #
>
> #minute hour mday month wday who command
>
> #
>
> */5 * * * * root /usr/libexec/atrun
>
> #
>
> # rotate log files every hour, if necessary
>
> 0 * * * * root newsyslog
>
> #
>
> # do daily/weekly/monthly maintenance
>
> 1 3 * * * root periodic daily
>
> 15 4 * * 6 root periodic weekly
>
> 30 5 1 * * root periodic monthly
>
> #
>
> # time zone change adjustment for wall cmos clock,
>
> # does nothing, if you have UTC cmos clock.
>
> # See adjkerntz(8) for details.
>
> 1,31 0-5 * * * root adjkerntz -a
>
> #mrtg
>
> */5 * * * * root /usr/local/bin/mrtg /usr/local/etc/mrtg/mrtg.cfg
>
> #bsduptime
>
> */60 * * * * root /home/admin/bsduptime RevGhost WhipLasH
>
> #To keep my ADSL connection running
>
> 0-59/2 * * * * root /usr/local/etc/pingmonitor.sh
>
> #Qmail
>
> 40 * * * * /var/vpopmail/bin/clearopensmtp 2>&1 > /dev/null
>
> # to rehash vhosts
>
> * 2 * * * root /usr/local/sbin/apachectl graceful
>
> # To Rehash Webalizer
>
> */30 * * * * root /usr/local/bin/webalizer
>
> # To Rehash OMF2097 webalizer
>
> */30 * * * * root /usr/local/bin/webalizer -c
> /usr/local/etc/omf2097.webalizer.conf
>
>
>
> is there any thing wrong with that?
>
>
>
> Matthew

----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description: 
----------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01072707095100.00642>