*BSD News Article 61584


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!howland.reston.ans.net!gatech!swrinde!newsfeed.internetmci.com!uwm.edu!news.sol.net!uniserve!usenet
From: tom@uniserve.com (Tom Samplonius)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: [Q] cron jobs
Date: 7 Feb 1996 23:11:07 GMT
Organization: UNIServe Online
Lines: 26
Distribution: world
Message-ID: <4fbbib$92v@atlas.uniserve.com>
References: <4fa6o9$kkp@usenet.srv.cis.pitt.edu>
NNTP-Posting-Host: tapehost.uniserve.com
Mime-Version: 1.0
Content-Type: Text/Plain; charset=US-ASCII
X-Newsreader: WinVN 0.99.6

In article <4fa6o9$kkp@usenet.srv.cis.pitt.edu>, cjk@omedsrvb.omed.pitt.edui says...

>What's the trick to getting a cron job setup???
>
>I want to have my entry in the crontabs file execute every night at midnight.
>This entry will rotate my netscape logs and looks like this:
>
>        0 0 * * * /usr/ns-home/httpd-80/rotate
>
>I placed this entry into the "/etc/crontabs" file and rebooted for it to take
>effect, yet it did not execute?? Any ideas???

  What is the "/etc/crontabs" file?  That isn't used
by CRON, if that's what you are thinking.

  Look at /etc/crontab for the system crontabs.

  Use the "crontab" command to install individual user crontabs.

  You don't need to reboot your system.  In fact, you should never
need to reboot a Unix workstation, once started.

  You should look at the manpages for crontab

Tom