summaryrefslogtreecommitdiff
path: root/workshop_app/reminder_script.sh
blob: bba493fb529dbbf5c3e9de79575a7903510432a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
path=$1 #command line argument to virtual environment

DIR="$( cd "$( dirname "$0" )" && pwd )"
cd $DIR

#Activate virtual environment
source $1bin/activate 
#Run script to send reminder mails
python reminder_script.py
#Deactivate Virtual environment
deactivate