Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, 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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2005
    Posts
    2

    Daily Log collection


    Hi,

    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.

    Regards,
    Sun@Work

  2. #2
    Linux Engineer
    Join Date
    Apr 2005
    Location
    Buenos Aires, Argentina
    Posts
    908
    You can do that by setting up Cronjobs, look at Google For Linux for tutorials/guides.
    serzsite.com.ar
    "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
  •