parent
6fc40aab17
commit
52eddeba13
1 changed files with 0 additions and 72 deletions
@ -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 |
||||
} |
||||
] |
||||
} |
Loading…
Reference in new issue