trying to fix pythong logging to file issue
This commit is contained in:
parent
9a4a0ede27
commit
7ecd6a42de
@ -22,7 +22,7 @@ fromdate=$(ls -1 *_latest.mcl |grep -Eo '[[:digit:]]{8}') || error_exit "cannot
|
|||||||
|
|
||||||
echo $fromdate
|
echo $fromdate
|
||||||
|
|
||||||
python2 update_missing.py
|
python3 update_missing.py >> "$prj_root/log/$d.log"
|
||||||
|
|
||||||
log2file "Moving old file to archive"
|
log2file "Moving old file to archive"
|
||||||
mv "$prj_root/$fromdate""_latest.mcl" "$prj_root/archive/""$fromdate"".mcl" || error_exit "cannot mv to archive"
|
mv "$prj_root/$fromdate""_latest.mcl" "$prj_root/archive/""$fromdate"".mcl" || error_exit "cannot mv to archive"
|
||||||
|
Loading…
Reference in New Issue
Block a user