Search Results

Search: Posts Made By: midhun3108
2,655
Posted By midhun3108
typo
if i want to run the script based on date from filename ? pls suggest.
dir: /var/tmp/filename10152019.txt
i want to execute ksh script.sh <date from filename[date].txt>
2,655
Posted By midhun3108
Run shell script based on date file
Hi Team,

I have a to run a script based on a date present in a different file which updates everyday. Kindly help with the solution.
My current execution : ksh scriptname.sh 10152019. But here i...
6,092
Posted By midhun3108
Hi RudiC, Can you please explain the above code...
Hi RudiC,
Can you please explain the above code what you replied. How does the above code fetch Return code from file and assign SUCCESS FAIL WARNING based on it ?
6,092
Posted By midhun3108
Need to send email for the output saved in the file
HI Jim,

Thanks for your answer. I meant append is referring to content in the email. i.e I have to extract only from the .out file the return code of a ABC.sh script. that I'm handling in another...
6,092
Posted By midhun3108
Manipulate condition to send mail based on output text in file
Hi All,

I have a working script as below.
echo "Files loaded with $(cat /var/tmp/script.X1.out)" | mail -s "Files loaded with return code" mailid

This script takes the output from...
7,803
Posted By midhun3108
Need to send email for the output saved
Thanks for the help in code. I also want to email the saved return code from output file. Can you pls help on how to modify the script ?
7,803
Posted By midhun3108
Email shell script return code
Hi All,

I'm new to unix and I have a requirement to execute a shell script and get the return code/Exit code and send it in email. Meaninig we execute a script which in turn execute a shel script...
5,228
Posted By midhun3108
Thanks a lot bakunin and drysdalk for providing...
Thanks a lot bakunin and drysdalk for providing detailed explanation. It made my understanding clear. I think ill use exec command as suggested instead of while loop for this operation.
5,228
Posted By midhun3108
Find and copy .zip file based on today's date
Hi Team,
I'm new to unix and i have a requirement to copy or move files from one directory to another based on current date mentioned in the .zip file name. Note that i need to copy only the recent...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 06:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy