Find the answer to your Linux question:
Results 1 to 2 of 2
Hi, I have a question that is probably very simple to the majority of you but is very difficult for me so I was hoping you guys could help. Here's ...
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    1

    Crontabs

    Hi, I have a question that is probably very simple to the majority of you but is very difficult for me so I was hoping you guys could help.

    Here's the question

    Set up a cronjob for root that creates an archive of the home directory of the user arnold as well as all files located in /var belonging to arnold. The archive has to be created at the end of the month early in the morning
    (between 12:00 am and 5:00 am). Store the archive in /var/local/backup. Give the archive a descriptive filename and include the month as part of the filename, such as arnold-Jan.tar. Everytime the archive is created log the action to a separate log file named /var/log/user.

    Note: The action has to be accomplished using a single job entry.
    Tip: Additional useful commands are: logger, date, and man (!)

    Any help would be appreciated thanks!!!

  2. #2
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,095
    Locking, as it's against the forum rules to post homework questions:

    http://www.linuxforums.org/forum/lin...ums-rules.html

    oz
    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
  •  
...