collgui end date error

From: Cohen, Andy <Andy.Cohen_at_cognex.com>
Date: Thu, 20 May 2004 16:16:07 -0400

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_at_odin==> collgui collect.odin.May07.out.cgz &
root_at_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
Received on Thu May 20 2004 - 20:17:26 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT