Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2006 07:03:20 +0800
From:      "Marlon Martin" <mmp013@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   cron question
Message-ID:  <b2e814f30604041603i3149fdfene6d7c4c6ec58cf21@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
i created a simple shell script:

filename: rn

#!/bin/sh
rndc dumpdb

what it does, is just dump the hostname and IP addresses in /var/dump
i set the time in 2 minutes but when i checked the logs, it doesnt work any
idea what did i missed here?

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

SHELL=3D/bin/sh
PATH=3D/etc:/bin:/sbin:/usr/bin:/usr/sbin
HOME=3D/var/log
#
#minute=09hour=09mday=09month=09wday=09who=09command
#
*/5=09*=09*=09*=09*=09root=09/usr/libexec/atrun
#
# Save some entropy so that /dev/random can re-seed on boot.
*/11=09*=09*=09*=09*=09operator /usr/libexec/save-entropy
#
# Rotate log files every hour, if necessary.
0=09*=09*=09*=09*=09root=09newsyslog
#
# Perform daily/weekly/monthly maintenance.
1=093=09*=09*=09*=09root=09periodic daily
15=094=09*=09*=096=09root=09periodic weekly
30=095=091=09*=09*=09root=09periodic monthly
/2     *       *       *       *         root   /home/ken/rn
#
# Adjust the time zone if the CMOS clock keeps local time, as opposed to
# UTC time.  See adjkerntz(8) for details.
1,31=090-5=09*=09*=09*=09root=09adjkerntz -a



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