From 52eddeba1342adbe99dc311760f5f1679763451b Mon Sep 17 00:00:00 2001 From: Thor Harald Johansen Date: Wed, 27 May 2020 00:51:26 +0200 Subject: [PATCH] Remove accidentally tracked config file --- src/config.py | 72 --------------------------------------------------- 1 file changed, 72 deletions(-) delete mode 100644 src/config.py diff --git a/src/config.py b/src/config.py deleted file mode 100644 index c26f42f..0000000 --- a/src/config.py +++ /dev/null @@ -1,72 +0,0 @@ -from apscheduler.triggers.cron import CronTrigger -import logging - -config = { -# 'zfs_path': '/usr/local/bin/zfs', -# 'fswatch_path': '/usr/local/bin/fswatch', - -# 'tab_size': 2, - -# 'log_level': logging.INFO, -# 'log_format': '%(asctime)s %(name)s [%(levelname)-8s]: %(message)s', -# 'log_date_format': '%a, %d %b %Y, %H:%M:%S', - -# 'separator': ':', -# 'destroy_trigger': CronTrigger.from_crontab('* * * * *'), - -# 'defaults': { -# 'disabled': False, -# 'filesystems': ['Media', 'Volatile'], - 'recursive': True, - 'tag': '', - 'trigger': CronTrigger.from_crontab('0 0 * * *'), - 'priority': 1, - 'keep': 6 - }, - - 'schedules': [ - { - 'disabled': True, - 'tag': '1mi', - 'trigger': CronTrigger.from_crontab('* * * * *'), - 'priority': 7, - 'keep': 4 - }, - { - 'tag': '5mi', - 'trigger': CronTrigger.from_crontab('*/5 * * * *'), - 'priority': 6, - 'keep': 4 - }, - { - 'tag': '20m', - 'trigger': CronTrigger.from_crontab('*/20 * * * *'), - 'priority': 5, - 'keep': 3 - }, - { - 'tag': '1hr', - 'trigger': CronTrigger.from_crontab('0 * * * *'), - 'priority': 4, - 'keep': 6 - }, - { - 'tag': '6hr', - 'trigger': CronTrigger.from_crontab('0 */6 * * *'), - 'priority': 3, - 'keep': 4 - }, - { - 'tag': '1dy', - 'trigger': CronTrigger.from_crontab('0 0 * * *'), - 'priority': 2, - 'keep': 7 - }, - { - 'tag': '1wk', - 'trigger': CronTrigger.from_crontab('0 0 * * mon'), - 'priority': 1, - 'keep': 4 - } - ] -}