Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Daily Log collection


    I am new to Red Hat Linux and I have some interesting works to do with this cool Operation System. I know a little about this OS.

    Fine I have some systems which does some loads of work. Often I do see the output of the work using some X commands implemented by our Tools team. Actually I am planning to figure out some statistics from the X command outputs.

    It will be very nice if I am able to run my custom command once in every 2 hours in my system and direct the output to a log file.

    I know this could be possible through some simple Python/Perl scripts. Can anyone send me some sample programs for my use. I will try to develop and customise to my needs.


  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Buenos Aires, Argentina
    You can do that by setting up Cronjobs, look at Google For Linux for tutorials/guides.
    "All the drugs in this world won\'t save you from yourself"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts