User Tools

Site Tools


computing:voms_script

This is an old revision of the document!


Use this code snippet to automatically check whether the VOMS proxy needs to be prolonged: <code> if $(voms-proxy-info --timeleft) < 18000; then # 5 hours

 echo '>>> voms-proxy-init -voms cms -valid 200:0'
 voms-proxy-init -voms cms -valid 200:0

else echo “»> voms still valid for another `date -u -d @$(voms-proxy-info –timeleft) +”%-d days %-H hours %-M minutes“`” fi <\code>

computing/voms_script.1488203809.txt.gz · Last modified: 2017/02/27 14:56 by iwn