Search Results

Search: Posts Made By: Sambit Sahu
3,840
Posted By Sambit Sahu
Hi Don, This is just perfect. Now i just...
Hi Don,

This is just perfect. Now i just need to add the mail configuration to the script.

Thanks,
Sambit
3,840
Posted By Sambit Sahu
Hi Rudy, This we can do but the problem is...
Hi Rudy,

This we can do but the problem is how we can terminate. I have tried few things.

Below is the output when I am just running the script.
[sasahu@cts-pro-mgmt-srv1 idc_test_tool]$...
3,840
Posted By Sambit Sahu
Hi Rudy, Below are some of the responses to...
Hi Rudy,

Below are some of the responses to your queries:


Is ctftestdump your (company's) own command or script, i.e. are you responsible and in a position to analyse / modify it? How is it...
3,840
Posted By Sambit Sahu
Hi Don, I will explain it in a better way....
Hi Don,

I will explain it in a better way. Linux is the operating system and using bash shell.

So the requirement is as below:

We have a script called testit_tas.sh to test the servers which...
3,840
Posted By Sambit Sahu
A shell script to run a script which don't get terminated and send a pattern from the output by mail
Hi Guys,

I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this...
3,799
Posted By Sambit Sahu
OK.. I sorted it out by myself. Below is the...
OK.. I sorted it out by myself. Below is the script:

day_of_week=`date +%w`

if [ `expr $day_of_week` == 1 ]
then
today=`date +'%Y%m%d'`
yes=`date -d "3 day ago" +'%Y%m%d'`
...
3,799
Posted By Sambit Sahu
Hi, I tried t search, however, I am unable...
Hi,

I tried t search, however, I am unable to find any relevant information about how to consider the business days only (mon-fri). I just need to run the query for last 3 business days (T, T-1,...
3,799
Posted By Sambit Sahu
Below is the content of mail.txt: <table...
Below is the content of mail.txt:

<table border=1>
<tr><td>CenterID MIC ExchangeName CountryCode EventDate EventDayOfWeek eventName</td></tr>
<tr><td>706 XTKS ...
3,799
Posted By Sambit Sahu
Hi Rudi, Yes, looping this will be good,...
Hi Rudi,

Yes, looping this will be good, however, in the output I am getting one extra <\/td> after every entry. O/p in the email attached: Below is the code:

#!/bin/bash

DT=(20170811...
3,799
Posted By Sambit Sahu
Adding a blank line in between two O/Ps in tabular format which gets received over email
Hi Guys,

I am stuck in between and seeking help here.

Requirement: A script that will run every morning which will connect to Mysql database and run the query to inform us about the holidays...
4,778
Posted By Sambit Sahu
Thanks Rudi, but , please can you let me know...
Thanks Rudi, but , please can you let me know where to place this formatting in the code. I am not getting the desired output.
4,778
Posted By Sambit Sahu
HTML formatting in shellscript
I have written one script which connects to MYSQL database, fires one select query and send the results over an email, if there is any Output.

But the Output which I am receiving over email is in...
Showing results 1 to 12 of 12

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