Search Results

Search: Posts Made By: kpearson
35,311
Posted By kpearson
Agreed. I use bash scripts for my cgi and output...
Agreed. I use bash scripts for my cgi and output plenty of data, building HTML on the fly.

For example, I have a help topics page for my wife that is entirely scripts. I add a small text file, and...
3,466
Posted By kpearson
Fax Servers for Linux/AIX
At the company where I work, use a product called VSI-FAX. It works nicely, but the maintenance has proven to be very poor grade. So, I'm interested in any experiences using other fax servers that...
8,669
Posted By kpearson
see the following thread: ...
see the following thread:

https://www.unix.com/unix-advanced-expert-users/54436-mailx-commannd-mail-attachment-same-mail.html
30,651
Posted By kpearson
You have to include the following lines in the...
You have to include the following lines in the header of the email to have the file go as an attachment:


Content-Disposition: attachment; filename="filename.ext"
Mime-Version: 1.0...
2,382
Posted By kpearson
My first thought was using sleep, too, but he is....
My first thought was using sleep, too, but he is.

sleep 600

So, maybe that long of a sleep is giving the CPU fits? when I had this problem before, and wasn't using a sleep command, I solved it...
1,749
Posted By kpearson
Did you ever get any responses to this? Did you...
Did you ever get any responses to this? Did you decide to use Hylafax?
9,958
Posted By kpearson
And thanks for adding shift which I haven't used...
And thanks for adding shift which I haven't used much and had forgotten about.

Nice touch.
9,958
Posted By kpearson
Yes, 2 backtics are necessary. Sorry.
Yes, 2 backtics are necessary. Sorry.
9,958
Posted By kpearson
That makes much more sense. The $# is looking...
That makes much more sense. The $# is looking only for command-line parameters passed into the script. That's why it's not working.

When you do

read variable

you can enter a complete...
9,958
Posted By kpearson
Are you calling your script this way? ...
Are you calling your script this way?

./script arg1 arg2 (2nd arg just for testing)

or are you running the script then using

read FN

to get entries after the script is running?

The...
13,123
Posted By kpearson
#!/usr/local/bin/bash ;# ksh 2nd choice if bash...
#!/usr/local/bin/bash ;# ksh 2nd choice if bash not installed.
HDRSTR="unique string in every header"
DIR=/path/to/data/dir
OFL=/path/to/output/file
TMPFL=/tmp/zzz
cat /dev/null > $OFL
cd $DIR...
Forum: AIX 11-27-2006
46,440
Posted By kpearson
Oh, in that case, I'd write a script that looks...
Oh, in that case, I'd write a script that looks something like:

#!/usr/bin/ksh (I use ksh on AIX unless bash is available)
checkdate () {
CHKDT=`date`
CHKDT=`echo $CHKDT|perl -pe 's/ /...
Forum: AIX 11-27-2006
46,440
Posted By kpearson
The first line works because it's running every...
The first line works because it's running every minute of every day and the program being called accepts passed parameters that control what actually happens when. When I write programs that have the...
Forum: AIX 11-23-2006
46,440
Posted By kpearson
Please don't just tell us it's working. This...
Please don't just tell us it's working. This forum is searchable on the internet and from personal experience there's nothing as frustrating as reading through a thread like this with no solutions...
Forum: AIX 11-22-2006
46,440
Posted By kpearson
My practice when adding Cron items
I usually solve these issues by writing a script in my home bin directory, then calling it via cron. That way, I can test it and so far haven't had issues with things working differently in cron....
Showing results 1 to 15 of 15

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