I am tailing a log file. How can I capture the output for one minute?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
You fail to mention your OS, Shell or other pertinent infos. Therefore, I recommend entering your command and watching the clock for one minute, then sending the 'break' command. The Cron command springs to mind to schedule tasks assuming you are running an Linux/UNIX box. |
|||
|
|