RE: Perl Script as a Cron Job

2006-10-11 Thread Jason Wozniak
Here is what I use for a perl script I use to restart the oracle listener if it goes down, to set the oracle environment. 00,10,20,30,40,50 * * * * (. $HOME/.bash_profile; $HOME/hdpjfw_scripts/dbping.pl) >$HOME/spool/db_ping.out 2>&1 From: Mazhar [mailto:[E

RE: Environment variables

2005-02-22 Thread Jason Wozniak
now is that the script won't connect to any remote databases. I assume this is probably because of the external identification. While the oracle user is externally identified on all servers, I probably have to log in to each server before connecting. -Original Message----- From:

RE: Environment variables

2005-02-21 Thread Jason Wozniak
g output: P01 P01 P01 P01 P01 The file /u01/app/oracle/check_list.txt contains several different sids, and if I print $_ it is reading them in. -Original Message----- From: Scott Pham [mailto:[EMAIL PROTECTED] Sent: Monday, February 21, 2005 4:05 PM To: Jason Wozniak Subject: Re: Environmen

Environment variables

2005-02-21 Thread Jason Wozniak
Hello, I'm trying to write a paging script that connects to several databases in succession, and was attempting to write the script such that I would not have to hard code any user names, or passwords, by using an externally identified user. I can connect to the first database in t

regex matching in a nested loop

2004-10-29 Thread Jason Wozniak
hrough the array multiple times. So I'm hoping maybe someone might know a more elegant solution to my problem? #!/usr/bin/perl -w # Author: Jason Wozniak # Purpose: To find any hard coded passwords in shell scripts, so they can be changed. use File::Finder; my $prod_pass_file = "

File::Finder syntax

2004-10-22 Thread Jason Wozniak
need. If anyone can shed some light on the syntax for this module it would be greatly appreciated. Jason Wozniak Systems Administrator, Oracle DBA Henkels & McCoy 985 Jolly Road Blue Bell PA, 19422

qx operator

2004-10-20 Thread Jason Wozniak
as well. Thanks in advance Jason Wozniak Systems Administrator, Oracle DBA Henkels & McCoy 985 Jolly Road Blue Bell PA, 19422

FW: Help with input streams

2003-02-01 Thread Jason Wozniak
>) { @files = $_; } but that had the same problem, so somehow the while loop causes the first argument to be dropped from the input stream? > -Original Message----- > From: Jason Wozniak > Sent: Friday, January 31, 2003 3:05 PM > To: '[EMAIL PROTECTED]&#

RE: Replacing a string in a bunch of files

2003-02-01 Thread Jason Wozniak
I was attempting to produce the file list by piping the output of a find command. See my previous email for the problem I'm having with that... I guess the question I would have is how you are producing the list in "myfiles"? in my case I suppose I could go to the directory that has the glog.log

Help with input streams

2003-02-01 Thread Jason Wozniak
/u06/logs/glog.log.bak.8 /u06/logs/glog.log.bak.9 /u06/logs/glog.log.bak.10 What am I missing? Regards, Jason Wozniak -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]