I am calling lsof command in perl script,but due to node issue it's getting stucked .
Because of this script is unable to exit and finish execution. please help.
#!/bin/bash cd /home/username smbclient //link/to/server$ password -W domain -U username recurse prompt mput baclupfiles exit
recurse, prompt, mput baclupfiles and exit
#!/bin/ksh userid="chansd" filename="/apps/log/check.txt" while true ;do touch $filename pass=`/apps/eDMZ/call_st.ksh $userid` sleep 20 rm $filename done
#!/bin/ksh filename="/apps/log/check.txt" if [ -f "${filename}" ] then if test "`find $filename -mmin +2`" then echo "script is not working ! Please act on it" | mail -s "Script is not working" Example@mail.com fi else exit 1 fi
function tx_unreachable_msg() { LOGLINE="[$DATE] no ip service unreachable" typewriter "$NOIPSERVICE niet bereikbaar" .1 sleep 1 typewriter "Mail wordt verzonden naar $email" .1 mail -s "NO ip mail error" "$email"<<EOF dynupdate.no-ip.com niet bereikbaar @ $DATE EOF }
vj ALL=(ALL) NOPASSWD: /path/to/the/program