LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 01: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, 04:23 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,986
Blog Entries: 11

Rep: Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880Reputation: 880
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 04:31 PM
Start Script issue icetomyst Fedora 4 02-15-2007 08:07 PM
a login script issue asschay Linux - Newbie 1 09-16-2005 02:03 AM
Script Issue gauge73 Linux - General 8 07-14-2003 08:50 AM
issue with shell script chupacabra Linux - General 3 10-18-2002 08:12 PM


All times are GMT -5. The time now is 07:13 PM.

Main Menu
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