LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Script Issue (http://www.linuxquestions.org/questions/linux-newbie-8/script-issue-562175/)

ryanbrimmer 06-16-2007 01:27 AM

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

Tinkster 06-16-2007 04:23 AM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.


http://www.linuxquestions.org/questi...d.php?t=562180

I closed the original because I saw and responded to the
dupe first.


All times are GMT -5. The time now is 06:53 PM.