[daip] ANTUSE

Eric Greisen egreisen at nrao.edu
Thu May 4 12:02:32 EDT 2000


Martin Hardcastle writes:
 > >     When the adverb ANTUSE was created 1999-05-11, its author
 > > added it correctly to POPSDAT but forgot to add it to NEWPARMS.
 > > I corrected this oversight on 2000-04-20.  It is clear then that you
 > > have not run a "midnight job" since then.  I recommend that you set up
 > > the capability to run mnj's and run them once in a while.
 > 
 > Thanks. I was under the impression that I *was* running a `midnight
 > job'!

         the only MNJ listed for the UK is Anthony Holloway at
taranis.jb.man.ac.uk which I would guess is Manchester not bristol.
WE do check logs to see who is running.  We do not allow rcp in
31DEC99, you must have an ssh connection - contact Pat Murphy is you
have not set that up yet.

 > 
 > sol:/export/home/mjh> su - aipsmgr
 > Password: 
 > You have mail.
 > AIPS_VERSION=/aips/31DEC99
 > SOL:/export/soft2/aipsmgr> crontab -l
 > 15 7 * * * /export/soft2/aipsmgr/do_daily.sol
 > SOL:/export/soft2/aipsmgr> head do_daily.sol
 > #!/bin/sh
 > # Generic AIPS midnight job runner
 > # un-comment next line to disable the job.
 > # exit
 > #
 > # Assume this file is called 'something.hostname'
 > # (to help in a multiple architecture installation)
 > myname=`basename $0 | awk -F. '{print $2}'`
 > [ "`uname -n | awk -F. '{print $1}'`" = "$myname" ] || exit
 > 
 > I'm not sure why this is failing, as it evidently is. Is it acceptable
 > to run the update script by hand for debugging purposes at
 > non-midnight times?

      Yes it is often run by hand.  That does help debug some
problems.  cron jobs however suffer from the fact that they run with
virtually no environment set up for you ($PATH may be virtually empty)
and you may need to add things to the do_daily script to get enough
environemnt established to find even basic Unix functions.

 > 
 > >     The reason that we did not notice this oversight sooner is the
 > > fact that NEWPARMS is now not the usual way in which to get new
 > > adverbs.  The verb COMPRESS is used instead.  If the local AIPS
 > > Manager has run POPSGN when he/she installed AIPS
 > 
 > I believed I had... perhaps I should do so again. Thanks.
 > 
 > Martin

grep ANTUSE $HLPFIL/POPSDAT.HLP and you will see that it is there in
any 31DEC99 copy.  So RUN POPSGN.

Look in $TST/$ARCH/UPDATE (I use ls -lt) to see when or if any mnj has
run.  You should get voluminous reports by e-mail from it whenever it
runs.

Eric



More information about the Daip mailing list