Changeset 4911
- Timestamp:
- 07/30/10 13:18:57 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/cron/nightlyrun.sh
r4819 r4911 39 39 40 40 #Get configuration 41 #Check that no other nightly run is running {{{1 42 if [ "$(ps aux | grep "nighltyrun\.sh" | grep -v "grep")" ] 43 then 44 echo "WARNING: A nightly run is already running. Killing..." 45 46 for JOBID in $(ps aux | grep "nighltyrun\.sh" | grep -v "grep" | awk '{printf("%s\n",$2);}'); 47 do 48 kill -9 $JOBID; 49 done; 50 fi 51 #}}} 41 52 #Source config file{{{1 42 53 if [ $# -ne 1 ];
Note:
See TracChangeset
for help on using the changeset viewer.