Forum: Shell Scripting Aug 3rd, 2008 |
| Replies: 3 Views: 659 |
Forum: Shell Scripting Aug 2nd, 2008 |
| Replies: 3 Views: 659 Email attachment and add text inside the mail Hi All
Anyway to add a note inside the email saying here is your file after attching a file in unix??
For example my script is fine attaching the excel file but i would like a message inside the... |
Forum: Shell Scripting Jul 10th, 2008 |
| Replies: 12 Views: 1,205 |
Forum: Shell Scripting Jul 3rd, 2008 |
| Replies: 3 Views: 602 |
Forum: Shell Scripting Jul 3rd, 2008 |
| Replies: 3 Views: 602 Compressing a gzip file (.gz) Hi All
Anyway of compressing a gzip file down evern further.
I have a file which is already compressed by gzip but is till to big to email.
Any ideas how to make it even smaller??? |
Forum: Shell Scripting Jul 2nd, 2008 |
| Replies: 12 Views: 1,205 |
Forum: Shell Scripting Jun 28th, 2008 |
| Replies: 12 Views: 1,205 |
Forum: Shell Scripting Jun 28th, 2008 |
| Replies: 12 Views: 1,205 Re: begin 644 msg from script sending file Hi Mike
I tried the below but it seems to just hang etc.
Also i cant use your other suggestion as it slightly alters the columns in the data thats why ive not used gzip. Its very strange though,... |
Forum: Shell Scripting Jun 27th, 2008 |
| Replies: 12 Views: 1,205 |
Forum: Shell Scripting Jun 27th, 2008 |
| Replies: 12 Views: 1,205 begin 644 msg from script sending file Hi All
Anyway of resolving this issue.
I have created a script which works properly only issue is occasionaly when the tar.Z file is emailed to me i get this message this only happens... |
Forum: Shell Scripting Apr 14th, 2008 |
| Replies: 3 Views: 682 |
Forum: Shell Scripting Apr 14th, 2008 |
| Replies: 3 Views: 682 Issue with echo $list not working in variable HI All
I have a script which counts how many times a job has failed.
For some reason my echo $list wont work in a variable, it works if i dont put it in a variable, but i need this in a variable so... |
Forum: Shell Scripting Mar 31st, 2008 |
| Replies: 9 Views: 1,340 Re: Issues emailing data from unix/sql script Hi Mike
Good suggestion about the hash #
I did this and the script worked i received the email attachment, good call :)
create table tempdb..test ( A char(1))
insert into tempdb..test values ('A') |
Forum: Shell Scripting Mar 27th, 2008 |
| Replies: 9 Views: 1,340 Re: Issues emailing data from unix/sql script Hi Mike
I made the change to the EOF no difference.
Basically the "go" part is a sybase command to execute whatever you have queried etc
i.e. you connect to the database then put some sql and type... |
Forum: Shell Scripting Mar 26th, 2008 |
| Replies: 9 Views: 1,340 Re: Issues emailing data from unix/sql script Hey Mike
I tried just the mail part from the command line and it worked fine
cat $file | uuencode $file | /usr/bin/mailx -s "TEST" "joe.blogs@hotmail.com"
I got an email with the excel... |
Forum: Shell Scripting Mar 25th, 2008 |
| Replies: 9 Views: 1,340 Issues emailing data from unix/sql script Hi All
Im having issues with my mail command sending data from my script.
I have a korn shell script which logs onto a database and does a few select statements.
The problem is i think the EOF stops... |
Forum: Shell Scripting Feb 9th, 2008 |
| Replies: 4 Views: 802 |
Forum: Shell Scripting Nov 29th, 2007 |
| Replies: 5 Views: 800 |
Forum: Shell Scripting Nov 29th, 2007 |
| Replies: 5 Views: 800 |
Forum: Shell Scripting Nov 29th, 2007 |
| Replies: 5 Views: 800 Re: Help to sort my script output? Hi
The data is emailed to me so its all held here
cat $HOME/scripts/autoinfo1.txt | mailx -s "job failure" joeblogg@hotmail.com
that sort command doesnt work against the script, or if i pipe after... |
Forum: Shell Scripting Nov 29th, 2007 |
| Replies: 5 Views: 800 Help to sort my script output? Hi Guys
I have created a script and everything works but i want my script to sort by the highest count etc.
The script counts the amount of times a job fails , for example the output looks like... |
Forum: Shell Scripting Oct 9th, 2007 |
| Replies: 4 Views: 921 |
Forum: Shell Scripting Oct 9th, 2007 |
| Replies: 4 Views: 921 Re: Issue with mail command mailing in script Hi
I tried that but it doesnt seem to work probably, as i had data in $filename, but it just ran echo "No Data" | mailx -s "$subject2 $day" $destination. For some reason it didnt pickup the... |
Forum: Shell Scripting Oct 9th, 2007 |
| Replies: 4 Views: 921 Issue with mail command mailing in script Hi All
I have created a script which will email output if the file contains data, this works.
But when the file contains 0 data, it tries to email but hangs, when i hit ctrl D, it ask for Cc:... |
Forum: Shell Scripting Sep 12th, 2007 |
| Replies: 2 Views: 1,527 |
Forum: Shell Scripting Sep 5th, 2007 |
| Replies: 2 Views: 1,527 Korn Shell books for beginner Hi
Can anyone advise me on a good Korn Shell scripting book for me.
Im fairly new to programming, so looking for a good korn shell book.
Im considering buying two books as my work will pay for... |
Forum: Shell Scripting Aug 30th, 2007 |
| Replies: 0 Views: 1,360 |