#!/bin/bash

HOME=/vagrant/user_level_slurm_reservations
LOGFILE=/var/log/slurm-llnl/hil_monitor.log

source $HOME/../ve/bin/activate
export PYTHONPATH=$HOME/prolog:$PYTHONPATH
# python $HOME/commands/hil_slurm_monitor.py 2>&1 >> $LOGFILE
python $HOME/commands/hil_slurm_monitor.py
deactivate


#!/bin/bash

HOME=/home/centos/user_level_slurm_reservations
LOGFILE=/var/log/slurm-llnl/hil_monitor.log

source $HOME/ve/bin/activate
export PYTHONPATH=$HOME/prolog:$PYTHONPATH
# python $HOME/commands/hil_slurm_monitor.py 2>&1 >> $LOGFILE
python $HOME/commands/hil_slurm_monitor.py
deactivate


Update user home directory, move virtual env directory up
Update user home directory, move virtual env directory up