contributed/allMovers: update_AllMovers-page.sh

File update_AllMovers-page.sh, 354 bytes (added by hauki, 11 years ago)

wrapper script to setup the environment for jython

Line 
1#!/bin/sh
2export JAVA_HOME=/usr/java/latest
3export CLASSPATH=/opt/d-cache/classes/cells.jar:/opt/d-cache/classes/dcache.jar
4/usr/bin/jython /srv/www/scripts/getAllMovers.py localhost 22223 admin /opt/d-cache/config/identity  > /srv/www/htdocs/dCache/allMovers_new.html
5mv /srv/www/htdocs/dCache/allMovers_new.html /srv/www/htdocs/dCache/allMovers.html
6