File tree Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Expand file tree Collapse file tree 1 file changed +60
-0
lines changed Original file line number Diff line number Diff line change
1
+ timezone : Local
2
+ logger :
3
+ level : debug
4
+ format : text
5
+ telegram :
6
+ token : " ${TELEGRAM_TOKEN}"
7
+ broadcast : []
8
+ storage :
9
+ ttl : 720h0m0s
10
+ path : ${GFEED_DATABASE_FILE}
11
+ must_exist : false
12
+ cron :
13
+ send_last_entries :
14
+ config :
15
+ limit : 4
16
+ send_resume_to :
17
+ - ${TELEGRAM_USER_ID}
18
+ sources :
19
+ paths :
20
+ - " ${GFEED_SOURCE_PATH}"
21
+ only : []
22
+ schedules :
23
+ - " 0 8-23 * * 1-4" # 8am to 11pm, Monday to Thursday
24
+ - " 0 8-15 * * 5" # 8am to 3pm, Friday
25
+ - " 0 9-19 * * 6" # 9am to 7pm, Saturday
26
+ chats :
27
+ - ${TELEGRAM_CHANNEL_ID}
28
+ send_last_stories :
29
+ config :
30
+ limit : 2
31
+ sources :
32
+ paths :
33
+ - " ${GFEED_SOURCE_PATH}"
34
+ only : []
35
+ interval : 24h
36
+ footer :
37
+ image : " ${GFEED_SOURCE_PATH}/avatar.jpg"
38
+ text : " ${GFFED_STORY_FOOTER_TEXT}"
39
+ schedules :
40
+ - " 0/45 8-23 * * 1-4" # At every 45 minutes, from 8am to 11pm, Monday to Thursday
41
+ - " 45 8-15 * * 5" # 45 minutes past the hour, from 8am to 3pm, Friday
42
+ - " 45 9-19 * * 6" # 45 minutes past the hour, from 9am to 7pm, Saturday
43
+ chats :
44
+ - ${TELEGRAM_CHANNEL_ID}
45
+ backup :
46
+ config :
47
+ base : " data"
48
+ glob : " *.sqlite"
49
+ name : ${GFEED_BACKUP_NAME}
50
+ schedules :
51
+ - " 0 2 * * *" # Every day at 2am
52
+ chats :
53
+ - ${TELEGRAM_USER_ID}
54
+ cleanup :
55
+ config :
56
+ notify : true
57
+ schedules :
58
+ - " 0 3 * * 1" # Every Monday at 3am
59
+ chats :
60
+ - ${TELEGRAM_USER_ID}
You canβt perform that action at this time.
0 commit comments