View Single Post

  #2 (permalink)  
Old 11-01-2007, 08:24 PM
nixcraft's Avatar
nixcraft nixcraft is offline
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,036
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Quote:
Originally Posted by vikas027 View Post
first I want to know how can I run a command automatically after every 10 mins, and dislpay its contents on the terminal.
Write a script
Setup a cron job to run every 10 min i.e. call this script using cron job. See how to use cron job:

How do I add jobs to cron under Linux or UNIX oses?

Good luck!
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote