Search Results

Search: Posts Made By: mo_VERTICASQL
1,485
Posted By mo_VERTICASQL
Don, its a linux system running a database. The...
Don, its a linux system running a database. The variables are collected each hour and then added to logs in a format that they will mean something to us. Also, I do some basic calculations for...
1,485
Posted By mo_VERTICASQL
Hey Don, The variable data can be anything...
Hey Don,

The variable data can be anything really, I can save it any format necessary. and to any number of extra logs I need to be able to achieve my goal.

I can save it any format that will...
1,485
Posted By mo_VERTICASQL
I've gotta post soon what I'm doing. I also...
I've gotta post soon what I'm doing.

I also am googling some things

---------- Post updated at 02:51 AM ---------- Previous update was at 12:25 AM ----------

hey guys sorry for the mess I...
12,845
Posted By mo_VERTICASQL
Hey Don, I found this online. However I prefer...
Hey Don, I found this online. However I prefer yours :S

DATE=2013-05-25
for i in {0..8} do
NEXT_DATE=$(date +%m-%d-%Y -d "$DATE + $i day")
echo $NEXT_DATE done
Results:
05-25-2013 ...
962
Posted By mo_VERTICASQL
thanks for the heads up I though s% was a...
thanks for the heads up I though s% was a deatiled seconds but I was wrong... lol



date +"%F %H:%M.0000

it generates the right number of zeros for me to compare to system code epoch time !...
12,845
Posted By mo_VERTICASQL
Rhel 5 ---------- Post updated at 10:58 PM...
Rhel 5

---------- Post updated at 10:58 PM ---------- Previous update was at 10:48 PM ----------

Rhel 5
1,485
Posted By mo_VERTICASQL
Grabbing variabes from logs
Hey guys, I am working on a script that needs to grab variables from a log file. The script will run morning 9 to 5pm and save variables for each run every hour, these results I will be aggregating...
12,845
Posted By mo_VERTICASQL
Increment date variable
hey guys,

I need to incerement the date variable for instance

echo `date '+%F %H:%M:00'`

this produces

2014-08-02 20:05:00

-I will grant this to : $Datehour and need to assign 1 hr...
962
Posted By mo_VERTICASQL
Casting the data command !
Hey guys.

1st problem:
I have to create a script for every hour run a script against a DB and then produce results to log file and eventually email.

I have to manipulate the date command from...
2,217
Posted By mo_VERTICASQL
Will do and thanks for the heads up! is there a...
Will do and thanks for the heads up!
is there a any logs in specific your thinking of? i'm just curious.
what causes the pileup ? termination of the script ?

I removed the echos.
2,217
Posted By mo_VERTICASQL
CORONA DUDE I LOVE YOU MAN. THE SCRIPT WORKS...
CORONA DUDE I LOVE YOU MAN. THE SCRIPT WORKS BEAUTIFULLY!

---------- Post updated at 11:45 AM ---------- Previous update was at 11:44 AM ----------

I will update you guys on my final deployment...
2,217
Posted By mo_VERTICASQL
hey Corona, thanks for the detailed help. So...
hey Corona, thanks for the detailed help.
So basically I am trying out your script however I have a question about $! 's- functionality.

does it pick from within the script the most recent shell...
2,217
Posted By mo_VERTICASQL
Guys, I will attempt your ideas today before...
Guys,
I will attempt your ideas today before eofday.

I however have probably not explained this properly:

I understand two subshells or 1 subshell and main command going same time.

BUT, I...
2,217
Posted By mo_VERTICASQL
Hey Corona688, in the first subshell...
Hey Corona688,



in the first subshell I have a query on a database which is waiting on a correct response, if database is slow then
the simultaneous subshell running will have commands sleep...
2,217
Posted By mo_VERTICASQL
Help sending mail through subshell
Hey I have a shell script that is like this:

(
echo "hi!"
##DO SOMETHING
)&(
sleep 5
##EMAIL RECIPIENTS VARs
ERECIPIENT3="email.com"
echo "Connection on status: is Down"|mail -s "Subject:"...
1,077
Posted By mo_VERTICASQL
Ideally, I would like to implement less watcher...
Ideally, I would like to implement less watcher scripts as a best practice (This is an enterprise environment)

and the script I am going to implement will run every minute so it might be an...
1,077
Posted By mo_VERTICASQL
Need help implementing a timout in my Shell Script for RHEL6
Hey Guys,

My problem:

I have a script that will be querying the database every minute to see if it gets a response, the response its querying for is "UP" in a table i made called dbup in the...
Showing results 1 to 17 of 17

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