From: "Cohen, Andy" <Andy.Cohen@cognex.com>
Subject: collgui end date error
Date: Thu, 20 May 2004 16:16:07 -0400 [thread overview]
Message-ID: <9D592DB37A92234AB635C5585D2D08190135D01A@cobra.pc.cognex.com> (raw)
Hi,
We run collect every day from 7 am to 5 pm. Lately, when opened by collgui, some of the collect output files will display the following messages at the command prompt:
root@odin==> collgui collect.odin.May07.out.cgz &
root@odin==> GotoLastRec: out-of-sync.
GetEndInfo: could not get ending time.
OpenFile: Problem with end time
end=end:
Time: Set: Error in time format
Time: Set: Error in time format
About 60% of the files don't display these messages when opened.
Here's the cron entry for the daily collect:
00 7 * * 1-5 /RUN-COLLECT.sh 10h 30 > /local/logs/collect.crontab.log 2>&1
Here's the content of RUN-COLLECT.sh
#!/bin/ksh
#
#set -x
export SCRIPT_NAME_COMMAND_LINE=$0
echo SCRIPT_NAME_COMMAND_LINE is $SCRIPT_NAME_COMMAND_LINE
export SCRIPT_NAME=${SCRIPT_NAME_COMMAND_LINE##*/}
echo SCRIPT_NAME is $SCRIPT_NAME
USAGE="usage: ${SCRIPT_NAME} [duration][m|h] [collect-interval-in-seconds]"
if [ $# -lt 2 ]; then
echo ${USAGE}
echo Script terminating unsuccessfully !
exit 1
fi
export COLLECT_DATE=`date +"%b%d"`
echo COLLECT_DATE is $COLLECT_DATE
export DURATION=$1
echo DURATION is $DURATION
export COLLECT_INTERVAL=$2
echo COLLECT_INTERVAL is $COLLECT_INTERVAL
/usr/sbin/collect -etfy -Ddsk3 -F -i${COLLECT_INTERVAL} -R $DURATION -W 1m -f/home/collect-out/collect.odin.${COLLECT_DATE}.out > /local/logs/collect.crontab
.${COLLECT_DATE}.log 2>&1 &
set +x
Any idea why I might be getting these errors?
Thanks,
Andy
Database Systems Administrator
Cognex Corporation
1 Vision Drive
Natick, MA 01760
next reply other threads:[~2004-05-20 20:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-20 20:16 Cohen, Andy [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-05-20 20:32 collgui end date error Cohen, Andy
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox