Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: exe a comand every 5 min



On Tue, 4 Sep 2001, Antony Stace wrote:

> what about something like
> 
> while true
> do
> ./analog > gigi.html
> sleep 300
> done

while this will probably work, cron is the Officially Approved Method for
doing this sort of thing under UNIX, and is generally more manageable.
type "man crontab" for instructions, and "man cron" also.

> 
> 
> Vernica Rares wrote:
> > 
> >   Hi,
> > 
> > How can a execute a comand, let say, every 5 minutes (something like
> > './analog > gigi.html')?
> > 
> > Thanks in advance,
> > Best regards,
> > Rares
> > 
> > 
> > 
> > ------------------------------
> > K Free E-mail http://www.k.ro/
> > by KappaNet http://www.kappa.ro/
> > 
> > -----------------------------------------------------------------------
> > Next Technical Meeting:  Sat, Sep 15 13:30-  Leading Edge Co., Place Canada
> > Next Nomikai Meeting:    Fri, Oct 19 19:30-  Tengu Tokyo Eki-Mae
> > -----------------------------------------------------------------------
> > more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan
> 
> -----------------------------------------------------------------------
> Next Technical Meeting:  Sat, Sep 15 13:30-  Leading Edge Co., Place Canada
> Next Nomikai Meeting:    Fri, Oct 19 19:30-  Tengu Tokyo Eki-Mae
> -----------------------------------------------------------------------
> more info: http://www.tlug.gr.jp           Sponsor: Global Online Japan
> 
> 

--------------------------
Scott M. Stone <sstone@example.com>
Director of Information Technology, Director of Research and Development
ITIsOpen, Inc. - http://www.itisopen.com
Cisco Certified Network Associate, Sun Solaris Certified Systems Administrator


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links