You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# we don't have error handling in the scheduler C file, so chck here:
scheduler_file_size=$(wc -c < "$scheduler_file")
if [ $scheduler_file_size -ne $expected_size ]; then
echo "Warning!!! Log file size $scheduler_file_size which doesn't match expected $expected_size. This may indicate a problem with log file generation and should be investigated. See $log_file on `hostname`."
fi
echo "Log size $scheduler_file_size of expected $expected_size">>$log_file
export XAUTHORITY=/home/wmfo-dj/.Xauthority
export DISPLAY=:0
if /usr/local/bin/rdlogmanager -g -m -s Automation -d 0 >>$log_file ; then
echo "Return successfully! Exit." >>$log_file
exit 0
else
echo "rdlogmanager returned failure. See $log_file on `hostname`."