Browse Source

add delay for moving data successfully

master
Jeong Geol Kim 4 years ago
parent
commit
227584a2b0
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      auto_extract.py

+ 2
- 0
auto_extract.py View File

3
 import glob
3
 import glob
4
 import time
4
 import time
5
 import threading
5
 import threading
6
+import paramiko
6
 
7
 
7
 
8
 
8
 hdd_root = '/hdd/*'
9
 hdd_root = '/hdd/*'
85
 if __name__ == '__main__':
86
 if __name__ == '__main__':
86
     while True:
87
     while True:
87
         main()
88
         main()
89
+        time.sleep(900)

Loading…
Cancel
Save