Find the answer to your Linux question:
Results 1 to 3 of 3
hey! I Need some help for my crontab command !!! I am a new guy in linux 58 15 * * 1,2,3,4,5 tar -cvf ~/backupoftest$(date +"%Y%m%d").tar ~/test If you can ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    11

    Crontab


    hey!

    I Need some help for my crontab command !!! I am a new guy in linux

    58 15 * * 1,2,3,4,5 tar -cvf ~/backupoftest$(date +"%Y%m%d").tar ~/test

    If you can help me !!! I will appreciate

  2. #2
    Linux User
    Join Date
    Aug 2006
    Location
    Croydon, PA
    Posts
    392
    You cannot be general in cron. All commands MUST have the full path to it.
    In your case I would create a script and then call the script instead of all those commands.
    Good Luck,
    Ski
    RHCT

  3. #3
    Just Joined!
    Join Date
    Feb 2007
    Posts
    11
    OK thx I will try !

Posting Permissions

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