Skip to content
Snippets Groups Projects
Commit 640965f4 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

log: Log year correctly

parent ba0c6bc8
Branches
No related tags found
No related merge requests found
......@@ -74,10 +74,10 @@ pip install -q -r $REQUIREMENTS
# Run the model
if [ -z "${year}" ]; then
echo "==== $(date): Running model for ${year}" >> "$LOG_FILE" 2>&1
echo "==== $(date): Running model for current year" >> "$LOG_FILE" 2>&1
python3 ${HOME_DIR}PSILARTEMP.py >> "$LOG_FILE" 2>&1
else
echo "==== $(date): Running model for current year" >> "$LOG_FILE" 2>&1
echo "==== $(date): Running model for ${year}" >> "$LOG_FILE" 2>&1
python3 ${HOME_DIR}PSILARTEMP.py "$year" >> "$LOG_FILE" 2>&1
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment