Jump to content

Recommended Posts

I am getting an email with this error all the time when I run the cron script bellow this is the error/warning email I am getting :-

tar: Removing leading `/' from member names

 

This is the cron I am running :-

 

cd /home/user/access-logs 
rm -f /home/user/accesS_logs.tar.gz
tar -zcvf /home/user/accesS_logs.tar.gz /home/user/access-logs/*
cd /home/user/
mutt -a accesS_logs.tar.gz emailaddress@gmail.com -s "RAW Log Backup" -f /home/user/mail_body < /dev/null

 

I have removed my email address and username for security reasons

 

Any help would be most greatfull as I have been trying to solve this now for the past 10 hours!

 

Thanks all in advance :)

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.