Search Results

Search: Posts Made By: goodmis
9,112
Posted By goodmis
Having A Problem Connecting to Oracle Using Cron
Can someone tell me how to prevent this?

stty: standard input: Invalid argument
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified

SP2-0306: Invalid option.
Usage:...
4,090
Posted By goodmis
No The Files Are Not The Same
I have two files that I need to combine. The information is similar but 1 file is larger than the other. They must be combined.

Thanks
4,090
Posted By goodmis
Need To Combine 2 Files
I have 2 files that I need to combine.

One file is looks like this:

71664107;1;1;05-FEB-07;12-FEB-07;

The other file looks like this:
...
2,054
Posted By goodmis
My Bad
I see the error of my ways

Thanks
2,054
Posted By goodmis
A File is not being returned
find /home/Upload/* | while read str
do
....
done
2,054
Posted By goodmis
How do I rewrite to use a while instead of find?
for FILE in `find /home/Upload/*`

Need to use a while instead to prevent errors when the file is emptied
2,476
Posted By goodmis
Thanks funsen, I am confused as to how it...
Thanks funsen,

I am confused as to how it fits together.

I can see running the cron job and writing standard error to a temp file on the cron job.

2> /tmp/file

What I don't understand...
2,476
Posted By goodmis
Dev Null
> /dev/null 2>&1

I can suppress all errors but I might miss a legitimate error.
2,476
Posted By goodmis
How can I verify if the file is open?
I am now running into the issue of a how can I verify that a file has finished downloading via ftp before I run an awk script against it?

How does awk handle this?

Thanks
2,476
Posted By goodmis
How do I prevent cron from returning errors on a file not found?
find: /home/Upload/*: No such file or directory


I am getting a find error when I run

for FILE in `find /home/Upload/* -prune -type f -newer TIMEFILE`
do

I need to run this job every 10...
1,977
Posted By goodmis
Thanks reborg
I finally got the message.

The file path was being repeated.
1,977
Posted By goodmis
SB008 This is the error that I am getting. ...
SB008

This is the error that I am getting.

Awk will not print FILENAME

convert_sun.awk:11: fatal: cannot open file `/home/Upload//home/Upload/s_test.txt' for reading (No such file or...
1,977
Posted By goodmis
Got An Error
SB008,

I am not seeing the file. I have 1 test file but it is not showing up.

I have tried to echo it.
1,977
Posted By goodmis
Awk Script Is Not Firing
Why is my awk script not firing and how can I confirm?

#!/usr/bin/ksh
# LU 5 FEB 2007 12:35
OLDDATE=`cat TIMEFILE`

for FILE in `find /home/Upload -prune -type f -newer TIMEFILE`
do
...
5,593
Posted By goodmis
How can I determine that the download process has...
How can I determine that the download process has completed?

I need to process the file and move it to another directory but I don't want to process the file until it has finished downloading.
...
1,404
Posted By goodmis
Unix To Awk
How do I alias the FILE name into awk?


gawk -f awk_script FILE

or

FILE | gawk awk_script

for FILE in `find ./* -prune -type f -newer ./TIMEFILE`
do
# Need to have the actual FILE...
5,593
Posted By goodmis
How can I tell when an SFTP has finished copying a file?
If I download a file via SFTP how can I tell when the process is completed? Is there a process that I can monitor?

Thanks
4,179
Posted By goodmis
I was told to run a cron job every 2 minutes and...
I was told to run a cron job every 2 minutes and once it found the file I could have it transfer it. It seems like overkill to have a process running every 2 minutes looking for a file that may be...
4,358
Posted By goodmis
Thanks Everyone
I was told to run a cron job every 2 minutes and once it found the file I could have it transfer it. It seems like overkill to have a process running every 2 minutes looking for a file that may be...
4,358
Posted By goodmis
When a file is created where does unix store the info?
When a file is created where does unix store the information about the file?
4,179
Posted By goodmis
Would I Need a Loop
Would I need a loop to check the directory to verify when the file was added?
4,179
Posted By goodmis
Need To Know In Real Time
Thanks SB008,

I need to know in Real Time. I should have mentioned that.

Thanks again for the reply
1,919
Posted By goodmis
How Can I Easily Determine If A File Has been Added to a Directory
I am uploading files that need to be processed prior to uploading. I will put the files in a directory. My question is how can I write an easy process to kick off a script once a file has been added?...
4,179
Posted By goodmis
How Can I Easily Determine If A File Has been Added to a Directory
I am uploading files that need to be processed prior to uploading. I will put the files in a directory. My question is how can I write an easy process to kick off a script once a file has been...
Showing results 1 to 24 of 24

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