A.3 Automatic Upgrades of Yohkoh Software


next up previous contents
Next: A.4 Site Specific Cleanup Up: A Installation and Maintenance Previous: A.2.2 Old Versions (

A.3 Automatic Upgrades of Yohkoh Software

       

The command to automatically upgrade the Yohkoh software on a periodic basis may be inserted into a ``cron job'' at remote sitesgif. If you are not familiar with function and operation of cron jobs on your particular machine, you should consult with your system manager. Although there may be some system dependencies not covered here we present some sample implementations here. Notes: ys is the path assigned to $ys ; ysowner is the username of the Yohkoh Software owner.

SUN/Mips/SGI/OSF

  1. Log on as the owner of the Yohkoh Software
  2. Edit the ``crontab'' file with the command: % crontab -e
    and add a line with the format:
    MM HH * * * setenv ys ys;csh $ys/gen/script/ys_install
  3. A specific example which upgrades the software daily at 23:00 local time is:
    00 23 * * * setenv ys /user1/ysw; csh $ys/gen/script/ys_install

Ultrix

  1. Log on root
  2. Add the following line to /etc/crontab via editor
    MM HH * * * rsh -l ysowner "setenv ys ys;csh $ys/gen/script/ys_install"
  3. A specific example which upgrades the software daily at 2:00 local time is:
    00 02 * * * rsh -l ysoft "setenv ys /user1/ysw; csh $ys/gen/script/ys_install"

For Ultrix systems that wish to use the root account to run the batch job, you can exclude the ``rsh -l ysowner'' portion of the command. If you do not run as the root user, then you will also need to edit the /.rhost file for the account which will be used to execute the ``ys_install'' script, and add a line similar to the following line, except with your node name.

         isass0.solar.isas.ac.jp         root


next up previous contents
Next: A.4 Site Specific Cleanup Up: A Installation and Maintenance Previous: A.2.2 Old Versions (


ydac@mssly1.mssl.ucl.ac.uk