Skip to content

Commit

Permalink
Add: 동기화로직이 새로운 학사DB API 사용 파일을 호출하도록 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
LarryKwon committed Aug 25, 2024
1 parent f900246 commit 8deb988
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scholardb_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def execute(host, port, user, password, query):

os.system("scp /tmp/otl_db_ssh_args xen:/tmp > /dev/null")
os.remove("/tmp/otl_db_ssh_args")
os.system("ssh xen python db.py > /dev/null")
os.system("ssh xen python newdb/db.py > /dev/null")
os.system("scp xen:/tmp/otl_db_dump_result /tmp > /dev/null")
os.system("ssh xen rm /tmp/otl_db_dump_result > /dev/null")
result = pickle.load(open("/tmp/otl_db_dump_result", "rb"), encoding="bytes")
Expand Down

0 comments on commit 8deb988

Please sign in to comment.