示例#1
0
___author__ = 'tpayet'

from event_handler import Watch, EventTools

if __name__ == '__main__':
	Watch.and_now_my_watch_begin('./', EventTools.send_cmd_ssh, 'sd-74719.dedibox.fr', 'thomas.payet', 'python3 test_script.py')
示例#2
0
文件: main.py 项目: tpayet/dir_check
__author__ = 'tpayet'

from event_handler import Watch
from event_handler import EventTools

if __name__ == '__main__':

	EventTools.send_cmd_ssh('sd-74719.dedibox.fr', 'thomas.payet', 'python3 test_script.py')
	Watch.and_now_my_watch_begin('./dir_test')