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
  [EMAIL PROTECTED]:~ $ cat <<EOF | crontab -
  > */10 *  * * * command
  > EOF
  # list the crontab
  [EMAIL PROTECTED]:~ $ crontab -l
  */10 *  * * * command

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:[EMAIL PROTECTED]           http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)

Reply via email to