This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
computing:voms_script [2017/02/27 14:57] – iwn | computing:voms_script [2017/07/11 14:51] – iwn | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Use this code snippet to automatically check whether the VOMS proxy needs to be prolonged: | + | Use this code snippet |
< | < | ||
- | if [[ $(voms-proxy-info --timeleft) < 18000 ]]; then # 5 hours | + | if [[ $(voms-proxy-info --timeleft) < 36000 ]]; then # 10 hours |
echo '>>> | echo '>>> | ||
| |