![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is rtc still needed today? | sparkysun | UNIX for Dummies Questions & Answers | 2 | 03-28-2008 08:47 AM |
| How to list all the files which are not generated today | redlotus72 | UNIX for Dummies Questions & Answers | 2 | 10-05-2007 10:27 AM |
| How to capture input files from GETOPT ? | bh_hensem | Shell Programming and Scripting | 1 | 05-31-2007 03:31 AM |
| Need to capture spooled print files | serware | UNIX for Advanced & Expert Users | 1 | 12-02-2001 02:36 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
You can also check a different option for find command - Quote:
Code:
EDIDIR=${LMS_EDI_IN}/${COMP}/${DIR}
FTPDIR=${LMS_VAR}/ftp/${COMP}/${DIR}
EDIINLIST=/app/lms/common/logs/admin/systemhealth/checkdailyinbounce_{$COMP}_${DIR}.log
find ${EDIDIR} -name "*.${EXT}" -daystart -mtime 0 -type f -exec ll {} \; > $EDIINLIST
find ${FTPDIR} -name "*.${EXT}" -daystart -mtime 0 -type f -exec ll {} \; >> $EDIINLIST
if [ ! -s $EDIINLIST ]
then
echo "No ${REPNAME} file(s) received by LMS" | mailx -s "No inbound ${REPNAME} files for ${COMPNAME} received by LMS today " $MAILDL
else
echo File Found
cat $EDIINLIST
fi
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|