-
Notifications
You must be signed in to change notification settings - Fork 12
/
chros73
29 lines (24 loc) · 1.47 KB
/
chros73
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
HOME="/home/chros73"
RTHOME="/mnt/Torrents"
# run queue management script in every 5 minutes
0-59/5 * * * * chros73 "$HOME/bin/queueTorrent.sh"
# run a donwload script every 5 minutes instead of running queue script (note: this is disabled on purpose, it's here only for demonstration)
#2-59/5 * * * * chros73 "$HOME/bin/sampleDownload.sh"
# run backup script every night at 01:17 , dismiss any errors
17 1 * * * chros73 "$HOME/bin/doBackup.sh" > /dev/null 2>&1
# run report of listing all orphaned meta files in every 10 days at 05:44
44 5 */10 * * chros73 "$HOME/bin/reportOrphanMetas.sh"
# run report of listing all orphaned data in every 10 days at 05:48
48 5 */10 * * chros73 "$HOME/bin/reportOrphans.sh"
# run report of listing all public data in every 10 days at 05:46
46 5 */10 * * chros73 "$HOME/bin/reportPublic.sh"
# run report of listing torrents with unusual trackers messages every day at 05:49
49 5 * * * chros73 "$HOME/bin/reportMessages.sh"
# run report of listing stuck torrents in incomplete directory every day at 05:53
53 5 * * * chros73 "$HOME/bin/reportStuck.sh"
# run report of listing stopped torrents every day at 05:54
54 5 * * * chros73 "$HOME/bin/reportStopped.sh"
# run report of low rotating space every day at 06:54
54 6 * * * chros73 "$HOME/bin/reportLowRotatingSpace.sh"
# run logrotating messages log every day at 01:14
14 1 * * * chros /usr/sbin/logrotate -s "$RTHOME/.rtorrent/.log/.logrotate.status" "$HOME/.local/logrotate/rtorrent-messages.conf" > /dev/null 2>&1