the-sexy-slug Posted August 4, 2011 Share Posted August 4, 2011 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 Quote Link to comment https://forums.phpfreaks.com/topic/243762-try-to-set-a-cron-but-getting-error-tar-removing-leading-from-member-name/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.