1846739 Members
3588 Online
110256 Solutions
New Discussion

Re: script

 
SOLVED
Go to solution
Francois Bariselle_3
Regular Advisor

script

Hy,

How I make to execute a command line every one minute in a c-script?
Fais la ...
3 REPLIES 3
harry d brown jr
Honored Contributor
Solution

Re: script

#!/usr/bin/csh
#
while (1)
echo hello
sleep 60
end


live free or die
harry
Live Free or Die
Jeff Machols
Esteemed Contributor

Re: script

while ( condition )
command
sleep 60
end
James R. Ferguson
Acclaimed Contributor

Re: script

Hi:

In the "yucky" csh you can do this:

#!/usr/bin/csh
while ( i != 0 )
date
sleep 60
end
exit 0

Regards!

...JRF...