remove test file
This commit is contained in:
parent
0c502afc55
commit
df8ba67a74
15
app/test.py
15
app/test.py
@ -1,15 +0,0 @@
|
|||||||
from dotenv import load_dotenv
|
|
||||||
import os
|
|
||||||
import subprocess
|
|
||||||
|
|
||||||
load_dotenv()
|
|
||||||
|
|
||||||
useast_ip_address = os.getenv('USEAST_IP_ADDRESS')
|
|
||||||
|
|
||||||
|
|
||||||
command = [
|
|
||||||
"sudo", "rsync", "-avz", "-e", "ssh",
|
|
||||||
"/root/backend/app/json/similar-stocks",
|
|
||||||
f"root@{useast_ip_address}:/root/backend/app/json"
|
|
||||||
]
|
|
||||||
subprocess.run(command)
|
|
||||||
Loading…
x
Reference in New Issue
Block a user