Script Issue
I was wondering if someone could help me. I wrote a script to email a daily audit file to me so I can review them for my company. I am kind of new at this and don't want to fall on my face. Please let me know what changes I can make.
Thanks,
-Ryan
#!/bin/bash
#Copying files to Temporary Daily Log File
$ cp /audit /audit/dailylogs
# Emailing logs to network administrator.
$ cat crontab
MAILTO=rbrimmer@coadmin.net
00 00 1 * * /audit/dailylogs
End
|