On Wed, 12 Apr 2000, Marius Schamschula wrote:
> on 3/8/2000 3:08 PM, New Tecumseth Public Library at [EMAIL PROTECTED]
> wrote:
>
> > Marius,
> >
> > I'm using NetBSD. I don't have access to my cron directory. So I've been
> > setting up events using crontab -e. I'm just looking for the format to
> > follow for the minute, hour, day, month, and week. This is how I attempted
> > to get it to run on the first day of every month.
> >
> > 5 0 1 * * /local2/home/website/newtecum/analog/analog
> >
> > This sound right?
>
> Jeff,
>
> I just have the script in /etc/cron.daily, which according to /etc/crontab
> runs
>
> 02 4 * * * root run-parts /etc/cron.daily
>
> If you want to run it monthly
>
> 42 4 1 * * root run-parts /etc/cron.monthly
>
> Even though I've got NetBSD installed in one of my old machines, I'm not
> quite sure if it uses the run-parts mechanism. I remember long ago putting
> together cron scripts like yours...(under Linux 1.2 kernels)
NetBSD does not have /etc/crontab by default (though the cron
daemon will use it if present). The /local2/... line above looks
fine, though you may need to confirm yo your environment such as
PATH.
If you're running as root under NetBSD you could add it to
/etc/daily though there is not much gain in that.
David/absolute
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------