From: Steffen Higel (higels at domain tcd.ie)
Date: Wed 29 Aug 2001 - 16:41:01 IST
On Wed, Aug 29, 2001 at 04:35:35PM +0100, Paul Askins articulated:
> Hi,
>
> I'm looking for a way to run a program or command periodically, but not
> using cron. Basically what I'm after is something that will run the
> command, go to sleep for say 10 minutes or some set time and then wake up
> and run the command again, and so on. Anybody got any ideas? A
> shell/perl script perhaps?
Like this:
#!/bin/bash
while(true); do
sleep 600
echo "hello"
done
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:11:53 GMT