#!/usr/bin/python
#-*- coding:utf-8 -*-
import os
import threading
import time
def start_cache():
t = time.time()
#os.popen('cp a.txt a.txt'+str(t))
os.popen('sh start.sh')
global timer
timer = threading.Timer(3,start_cache,[])
timer.start()
def main():
timer = threading.Timer(3,start_cache,[])
timer.start()
if __name__=='__main__':
main()
#-*- coding:utf-8 -*-
import os
import threading
import time
def start_cache():
t = time.time()
#os.popen('cp a.txt a.txt'+str(t))
os.popen('sh start.sh')
global timer
timer = threading.Timer(3,start_cache,[])
timer.start()
def main():
timer = threading.Timer(3,start_cache,[])
timer.start()
if __name__=='__main__':
main()