Hi,
I need to send an email from an UNIX shell script along with an attachment.
I am working on an HP-UX 11.00 system. The only mailing program which provides adding an attachment to a mail is "pine". However pine is not installed on my system and I cannot install it too due to the server being a... (2 Replies)
Hi,
This is what my script looks like:
cd /var/apache/htdocs/MyApp
var=`more /var/apache/htdocs/MyApp/activate`
mailx -s "from MyApp" selma@mail.com <<EOT
intro:
--------------
$var
EOT
I get output that I would like to see when I invoke the script manually, this is is the... (2 Replies)
Hi all..
I'm not a scripter but I'm trying to set up a mail script that emails out once a file has been written to.
Is there some way of writing a while read loop or something, so that it reads each line of the file and then ends when a specific number of lines have been written...
We're... (2 Replies)
Hi,
I have a file lets say FILE1.
FILE1
------
name,age
charlie,25
harry,29
david,32
Pls help me writing a mailing script.... which will mail the content of file in the body of the mail & it will look something like below in two columns.
name age
charlie 25
harry 29... (1 Reply)
Hi,
I am new to perl:
I need to write perl script to list all the files present in directory and mail should be come to my inbox with all the files present in that directory.
advanced thanks for valuable inputs.
Thanks
Prakash GR (1 Reply)
Hi all,
This is my first post.
I am new to unix scripting.
My requirement is as follows :
We are using a financial backoffice application.
Now at the end of day we have send users a status report stating all timings of EOD processes for all countries.
I need timings for following... (0 Replies)
Hi all,
I have a directory in which files are formed daily at certain time.files have certain naming convention for ex ..
File1TTT.DATddmmyyyyhrsminsec
File2TTT.DATddmmyyyyhrsminsec
I want to take their line count when they are formed and mail that line count.
Please help how to... (2 Replies)
Hi,
I am totally New to This Scripting Area.We have developed some reports in Bo and User need those reports to be sent through Unix Server (SFTP).
Can any one provide me script for transfering File from one location to other with the requirement like if that file fails to reach destination... (4 Replies)
Hello,
I am facing a very strange problem when I run my script manuallu ./Fetchcode which is using to connect with MKS integrity from linux end it workks fine but when I run it from cron it doesn't work.Can someone help me
1) How could I check my script when it is running from cron like... (3 Replies)
Help. My script is working fine when executed manually but the cron seems not to catch up the command when registered.
The script is as follow:
#!/bin/sh
for file in file_1.txt file_2.txt file_3.txt
do
awk '{ print "0" }' $file > tmp.tmp
mv tmp.tmp $file
done
And the cron... (2 Replies)