> Would it not be better to have szap run in daemon > mode and check the status and always do some logging to syslogd? > you can use "daemon szap -c ......(etc)" and just in case it unlocks, have a script in crontab using femon to detect lock status and relaunch szap if it unlocks