LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Closed Thread
 
Search this Thread
Old 06-16-2007, 02:27 AM   #1
ryanbrimmer
LQ Newbie
 
Registered: Jun 2007
Posts: 7

Rep: Reputation: Disabled
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
 
Old 06-16-2007, 05:23 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
sh script issue. UltraSoul Solaris / OpenSolaris 4 03-29-2007 05:31 PM
Start Script issue icetomyst Fedora 4 02-15-2007 09:07 PM
a login script issue asschay Linux - Newbie 1 09-16-2005 03:03 AM
Script Issue gauge73 Linux - General 8 07-14-2003 09:50 AM
issue with shell script chupacabra Linux - General 3 10-18-2002 09:12 PM


All times are GMT -5. The time now is 11:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration