Skip to content

Commit a94df95

Browse files
authored
Update upload.sh (#296)
1 parent 3663d45 commit a94df95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

upload.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
kill -9 $(ps aux | grep 'src.burn.scan' | grep -v grep | awk '{print $2}')
33
kill -9 $(ps aux | grep '[u]pload' | awk '{print $2}')
44
# start new process
5-
nohup python -m src.burn.scan > ./logs/runtime/scan-$(date +%Y%m%d-%H%M%S).log 2>&1 &
6-
nohup python -m src.upload.upload > ./logs/runtime/upload-$(date +%Y%m%d-%H%M%S).log 2>&1 &
5+
nohup python3 -m src.burn.scan > ./logs/runtime/scan-$(date +%Y%m%d-%H%M%S).log 2>&1 &
6+
nohup python3 -m src.upload.upload > ./logs/runtime/upload-$(date +%Y%m%d-%H%M%S).log 2>&1 &
77
# Check if the last command was successful
88
if [ $? -eq 0 ]; then
99
echo "Success! Please ignore the 'kill: usage....' if it displays"

0 commit comments

Comments
 (0)