Re: Do alarms work in 7.20 ?
Posted in 1996
Hello, ALARM works with 7.1x, I don't know about 7.20. To debug: - at first make sure to set execute permission to the file ( chmod +x <filename> ). - then make sure your script is called. I use rather simpler one: : echo $* >> /tmp/eee - if it works, continue to debug. Sincerely, Sergei Melikhov ctreptow@aol.com wrote: > > Hi. I am trying to write an alarm program for Informix, but it doesn't > appear to work. We are on HP-UX 10.01 running Informix Online version > 7.20. I have written the following script, but it doesn't ever appear to > get called by Informix. According to the manual, I should at least get > something when a checkpoint completes, but I don't seem to get anything. > The script works if run by hand (except possibly for the logging to > syslogd). Any ideas or hints? > > TIA > > Craig > ctreptow.aol.com > > Contents of alarm_handler.sh: > ************************************************************************** > **** > #!/bin/ksh > > > > Craig Treptow > ctreptow@aol.com -- ***************************************************************************** Sergei V. Melikhov DataX/Florin Inc. Head of System Group Advanced Data Management Systems. melihov@florin.ru Moscow, Russia WWW http://www.florin.ru/eng phone 7-095-158-9520 fax 7-095-158-5700 ******************************************************************************