2 # m h dom mon dow command
8 # we need these for the GenesisII GFFS environment.
9 GENII_INSTALL_DIR=/home/jurgis/gffs/code/GenesisII/trunk
10 XSEDE_TESTS_FOLDER=$GENII_INSTALL_DIR/toolkit
11 GENII_USER_DIR=/home/jurgis/.tmp/dot-genesis-xcg3
12 JAVA_HOME=/usr/lib/jvm/java-6-sun
16 # variegated scheme: we run the container during non-working hours.
18 # during non-weekday hours, make sure grid container is started if can't detect it as running.
19 # first is for weekdays, during non-working hours.
20 #*/10 0-8,19-23 * * 1-5 export FOOP=/tmp/container_restarter_${USER}_$(hostname).log; bash $XSEDE_TESTS_FOLDER/library/maybe_restart_container.sh &>>$FOOP ; /bin/chmod g+w $FOOP
21 # second is for weekends.
22 #*/10 * * * 0,6 export FOOP=/tmp/container_restarter_${USER}_$(hostname).log; bash $XSEDE_TESTS_FOLDER/library/maybe_restart_container.sh &>>$FOOP ; /bin/chmod g+w $FOOP
24 # stop the container during working hours, so it doesn't hose up our desktop performance.
25 #*/10 9-18 * * 1-5 export FOOP=/tmp/container_restarter_${USER}_$(hostname).log; bash $XSEDE_TESTS_FOLDER/library/zap_genesis_javas.sh &>>$FOOP ; /bin/chmod g+w $FOOP
29 # a fairly rude scheme; always stop the container.
31 #*/5 * * * * export FOOP=/tmp/container_restarter_${USER}_$(hostname).log; bash $XSEDE_TESTS_FOLDER/library/zap_genesis_javas.sh &>>$FOOP ; /bin/chmod g+w $FOOP
35 #current scheme, always run it.
36 */5 * * * * export FOOP=/tmp/container_restarter_${USER}_$(hostname).log; set &>$FOOP ; bash $XSEDE_TESTS_FOLDER/library/maybe_restart_container.sh &>>$FOOP ; /bin/chmod g+w $FOOP