trying to fix pythong logging to file issue

This commit is contained in:
FrederikBaerentsen 2024-02-19 19:26:33 +01:00
parent 9a4a0ede27
commit 7ecd6a42de

View File

@ -22,7 +22,7 @@ fromdate=$(ls -1 *_latest.mcl |grep -Eo '[[:digit:]]{8}') || error_exit "cannot
echo $fromdate
python2 update_missing.py
python3 update_missing.py >> "$prj_root/log/$d.log"
log2file "Moving old file to archive"
mv "$prj_root/$fromdate""_latest.mcl" "$prj_root/archive/""$fromdate"".mcl" || error_exit "cannot mv to archive"