Search Results

Search: Posts Made By: bcarosi
488
Posted By bcarosi
yes I thought that was what you meant for the...
yes I thought that was what you meant for the code. I placed brackets around it. I don't understand what you mean by code tags That is why I used the brackets for code tags. do you know what I could...
488
Posted By bcarosi
Date included
#!/usr/bin/ksh

# This script reads the *.rpt files created by xenos during job execution.
# The job name, jobid, number of pages processed and pdf files created for each job
# are added to the...
466
Posted By bcarosi
sorry the file in am inputting is anything that...
sorry the file in am inputting is anything that ends with .rpt
home/p611568/d2e/logs/*.rpt

I have to pull these four lines out from the file:

Info ApplicationParmValues(Job) ...
466
Posted By bcarosi
Why is this script not working?
for file in $(find /home/p611568/*.rpt -mtime -2 | grep -v ftplog)
do
awk '$1 == "XifPages," {PAGE = $5}
$1 == "XifEndOfDocuments," {LINE = $5}
index($0,"Value") &&...
1,086
Posted By bcarosi
MODIFY THIS script to send one email for each 4 files
this script is currently sending 4 emails:
reading:
There were errors in the following report file for Xenos:

This files have been moved to /home/p611568/d2e/error_directory...
2,879
Posted By bcarosi
Revision of script from don
Don,

I revised script but when I ran it I did not receive any log. I am not sure what you mean to run it in code tags. I am using a putty session and ssh but I did not get a trace log?
...
1,086
Posted By bcarosi
echo "There were errors in the following report...
echo "There were errors in the following report file for Xeenos:" > $EMAILFILE
echo >> $EMAILFILE
echo "This files have been moved to $ERRORDIR" >>$EMAILFILE
find /home/xxxxxx/ABC/logs/*.rpt...
1,086
Posted By bcarosi
LIST=/home/xxxxxxx/ABC/xeeno_scrpts/temp/tempfile...
LIST=/home/xxxxxxx/ABC/xeeno_scrpts/temp/tempfile
ERRORDIR=/home/xxxxxxx/ABC/error_directory
EMAILFILE=/home/xxxxxxx/ABC/xeeno_scrpts/temp/emailfile
echo "There were errors in the following...
1,086
Posted By bcarosi
UNIX scripting
LIST=/home/xxxxxxx/ABC/xeeno_scrpts/temp/tempfile
ERRORDIR=/home/xxxxxxx/ABC/error_directory
EMAILFILE=/home/xxxxxxx/ABC/xeeno_scrpts/temp/emailfile
echo "There were errors in the following...
Showing results 1 to 9 of 9

 

Featured Tech Videos

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