Find the answer to your Linux question:
Results 1 to 3 of 3
Hi all, I am a Linux newbie have learned quite a few things from this fourm. I have a Redhat server (V9 I think) that is being used as a ...
  1. #1
    Just Joined!
    Join Date
    Feb 2005
    Posts
    3

    Question Newbie - Linux reference books - chron

    Hi all,

    I am a Linux newbie have learned quite a few things from this fourm. I have a Redhat server (V9 I think) that is being used as a syslog server for our newwork hardware. I am reying to setup a cron job so that the first of each month these files are saved and a clean one started for the new month. This appears to have been something that was never setup when the server was placed into production.

    I am looking for a few good books that I can use to learn how to set this up. Any recommendations??

    Thanks in advance ....

    Brent

  2. #2
    Trusted Penguin Cabhan's Avatar
    Join Date
    Jan 2005
    Location
    Seattle, WA, USA
    Posts
    3,230
    Setting up cron is relatively simple. You can start with the man page for a brief overview:
    Code:
    man 5 crontab
    cron basically executes a command at a given interval: that command can be anything that you want, including a custom Bash script or program. So you basically write a script that does what you want, and plug it into cron!
    DISTRO=Arch
    Registered Linux User #388732

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,093
    I'm not even sure if there are any full books dedicated to cron, but you can find plenty of cron guides with a quick google search.
    oz

    new members/users: read this first | new member faq
    no private messages requesting computer support - post them on the forums!
    please use the "report post" button to alert our forum admins to problematic posts rather than responding to them 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
  •  
...