Re: Repeat a command in background

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Mack
Date: Thursday, April 15, 2010 - 7:48 am

On Thu, Apr 15, 2010 at 07:16:03AM -0700, roywoco wrote:

Very wrong list for such questions, dude. Nevermind ...

#!/bin/sh

file=/tmp/file
while [ true ]; do
	cat /proc/vmstat >> $file
	sleep 600
done

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Repeat a command in background, roywoco, (Thu Apr 15, 7:16 am)
Re: Repeat a command in background, Daniel Mack, (Thu Apr 15, 7:48 am)