Skip to main content

Auto Watch

Project description

watchdog + rsync完成自动同步小工具


  1. watchdog


  1. pip install autowatch


  1. 进入配置文件所在目录

  2. autowatchme.pyw tricks.yaml

  3. 会在当前目录生成autowatch.log日志文件,查看日志: tailf autowatch.log


- d:/linux/pyscript

- tricks.ShellZCommandTrick:
    source_directory: D:\Workstation\blueking
    target: root@"

- tricks.ShellZCommandTrick:
    source_directory: D:\Workstation\blueking\blueking_alarm
    target: root@"


2015-04-09 00:14:59,780 [INFO] autowatch.cmd tricks.yaml
2015-04-09 00:14:59,780 [INFO] autowatch.cmd D:\linux\pyscript
2015-04-09 00:14:59,780 [INFO] PatternMatching: ['*tricks.yaml']
2015-04-09 00:14:59,782 [INFO] autowatch.cmd Start AutoWatchYaml Success
2015-04-09 00:15:31,500 [INFO] Start <YamlTrick(Thread-3, started daemon 13400)>
2015-04-09 00:15:31,500 [INFO] YamlTrick: ['D:\\linux\\pyscript\\tricks.yaml']

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

autowatch-1.1.0.tar.gz (4.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page