Search Results

Search: Posts Made By: Deena1984
8,941
Posted By RudiC
I can't reproduce what you are saying. On both my...
I can't reproduce what you are saying. On both my linux and FreeBSD systems the old files are found even though the directory itself was modified recently.
3,116
Posted By sea
Assuming the 'select from table' example actualy...
Assuming the 'select from table' example actualy reads out a table, it still compares the whole list/string with the number of lines from scrcnt.
At its best, you'd get a single "Mismatch" into your...
3,116
Posted By RudiC
Sorry for the typo, use ${#srccnt[@]} for the...
Sorry for the typo, use ${#srccnt[@]} for the element count, c.f. man bash.

I'd propose you get a file with row counts and tables from SQL and then perform sth like while read CNT TABLE
do...
5,356
Posted By RudiC
How about script1 || { echo "script1 failed";...
How about script1 || { echo "script1 failed"; exit 1; }
script2 || { echo "script2 failed"; exit 2; }
script3 || { echo "script3 failed"; exit 3; }
script4 || { echo "script4 failed"; exit 4; }...
5,356
Posted By blackrageous
This statement doesn't look good since you are...
This statement doesn't look good since you are pushing the scripts into the background with ampersand...


"$i" & >> ${LOG_FILE} 2>&1Plus it looks like you run the scripts again.
I suggest...
5,356
Posted By sea
Could be shorter: $ date +%F%T ...
Could be shorter:
$ date +%F%T
2015-04-0900:38:18

EDIT:
Oops, there are dashes, oh well, but otherwise... ;)
Showing results 1 to 6 of 6

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