Re: crontab
On Tue, 19 Oct 1999, T.V.Gnanasekaran wrote:
: how do i run a program every 10 minutes?
: -gnana
Use cron. RTFM `man crontab' to get the details.
Since most people hate being told to RTFM (why?), here's the easy way
out:
# edit a "here" document and make it the crontab
# probably wise to replace "command" with a real command
biff@chaos:~ $ cat <<EOF | crontab -
> */10 * * * * command
> EOF
# list the crontab
biff@chaos:~ $ crontab -l
*/10 * * * * command
--
Nathan Norman
MidcoNet 410 South Phillips Avenue Sioux Falls, SD
mailto:finn@midco.net http://www.midco.net
finger finn@home.midco.net for PGP Key: (0xA33B86E9)
Reply to:
- References:
- crontab
- From: "T.V.Gnanasekaran" <gnana@lanminds.com>