[comp.sys.mips] The batch and at commands

trm@spider.co.uk (Tom McBeath) (05/13/91)

I have just been trying to get "xalarm" working, it seems a nice little utility
and was written by a MIPS engineer.
Everything seemed to be going fine until an alarm was due and nothing happened.
Since the manual page says that xalarm uses the "at" command I had a shot at
using the at command.  The command seems to work all right accepts the call gives
a batch number and exits, unfortunately this is all it seems to do.

I tried getting simpler and using the batch command but again it does not
actually run the job, although again it does give a nice little batch number.

We then tried the BSD version of this command and it works fine.

Has anyone every got the SYSV.3 version of this command working, our computer
services group reported it to MIPS as a nuisance bug, so the net is my last
hope.

Hardware : MIPS M-120
Software : UMIPS Version 4_52

Tom McBeath
Development Operations Manager.

ken@visix.com (Ken Mayer) (05/15/91)

In article <1991May13.162921.28739@spider.co.uk> trm@spider.co.uk (Tom McBeath) writes:
...
   I have just been trying to get "xalarm" working, it seems a nice
   little utility and was written by a MIPS engineer. Everything
   seemed to be going fine until an alarm was due and nothing happened. 
...

I have found that xalarm runs a separate program (xalarm_display) and
that it needs to know what display to use. Put the following line in
your .Xdefaults file:

xalarm*displayProgram:	/usr/X11/bin/xalarm_display -display <your_display>

This is a hack and won't work in the general case (xalarm should
include the string '-display ...'  or something. But it works if you
don't switch displays often.

Cheers,
Ken


--

Ken Mayer                            #__               ken@visix.com
Technical Support Engineer      \  //(_  /\/           ...!uunet!visix!ken
Visix Software Inc.              \// __)/ /\            703.758.8230
				       #
	 ...Pay no attention to the man behind the curtain...