Hi Virendra If u want a command for the purpose ...just try using /bin/watch.It has an option to specify the time interval to run the command while your command/script will go as an argument to "watch". Regards Trishito ============================================
--- On Thu, 16/10/08, Muzaffar Ansari <[EMAIL PROTECTED]> wrote: From: Muzaffar Ansari <[EMAIL PROTECTED]> Subject: Re: [LinuxVadaPav] How to run a command every 15 seconds To: linuxvadapav@yahoogroups.com, [EMAIL PROTECTED] Date: Thursday, 16 October, 2008, 8:28 PM Hi Virendra, >> I want execute a command every 15 seconds u can put the following piece of code in a script and execute it in background, #!/bin/sh while true do <ur command comes here> sleep 15 done ----------- Muzaffar Ansari +91 9224339939 ansarimuzaffar@ yahoo.com ----- Original Message ---- From: virendra wadel <virendra_wadel@ yahoo.co. in> To: linux_mantra@ yahoogroups. com; linuxvadapav <linuxvadapav@ yahoogroups.. com> Sent: Thursday, October 16, 2008 8:10:26 AM Subject: [LinuxVadaPav] How to run a command every 15 seconds I want execute a command every 15 seconds Is there a inbuilt command in Linux Waiting for your response The command which i want to execute is a binary which already contains sleep instruction.