if [[ $? == 0 ]]; then
echo "$date Another $SCRIPT_NAME process is already running" >> $mylogfile
cat $PROCESS_LIST >> $mylogfile
if [[ $? == 0 ]]; then
echo "$date Another $SCRIPT_NAME process is already running" >> $mylogfile
cat $PROCESS_LIST >> $mylogfile