* * * * * curl -s http://127.0.0.1:8881 > /var/www/healthchecks/status.json
*/10 * * * * /usr/local/bin/blog-stats-daily
*/4 * * * * /usr/local/bin/grafana_pictures.sh

# HOW TO RESTORE:
# duplicity restore file:///var/storage/wastebox/Backups/radicale/ ./test-collection/
#
0 5 * * * /etc/monitoring/scripts/backups.sh /var/lib/radicale/collections/ file:///var/storage/wastebox/Backups/radicale/
10 5 * * 6 /etc/monitoring/scripts/backups.sh /home/git/rcmd/ file:///var/storage/wastebox/Backups/websites/
20 5 * * 6 /etc/monitoring/scripts/backups.sh /home/ledger/ file:///var/storage/wastebox/Backups/ledger/
42 5 * * * rm -f /var/storage/wastebox/Backups/gitea-dump.zip
43 5 * * * mv /home/git/gitea-dump.zip /var/storage/wastebox/Backups/
50 5 * * 6 /etc/monitoring/scripts/backups.sh /var/spool/api/ file:///var/storage/wastebox/Backups/api/
0 6 * * * /etc/monitoring/scripts/backups.sh /var/lib/kanboard/ file:///var/storage/wastebox/Backups/kanboard/
10 6 * * * /etc/monitoring/scripts/backups.sh /var/lib/wiki/ file:///var/storage/wastebox/Backups/wiki/
15 6 * * * /etc/monitoring/scripts/backups.sh /var/lib/rssreader/ file:///var/storage/wastebox/Backups/rssreader/
20 6 * * * /etc/monitoring/scripts/backups.sh /home/syncthing/.config/syncthing/ file:///var/storage/wastebox/Backups/syncthing/
25 6 * * * /etc/monitoring/scripts/backups.sh /var/lib/grafana/ file:///var/storage/wastebox/Backups/grafana/
30 6 * * * /etc/monitoring/scripts/backups.sh /var/lib/vault/ file:///var/storage/wastebox/Backups/vault/
40 6 * * * /etc/monitoring/scripts/backups.sh /var/lib/gitea/ file:///var/storage/wastebox/Backups/gitea-backups/
50 6 * * * /etc/monitoring/scripts/backups.sh /var/lib/chatserver_secondary/ file:///var/storage/wastebox/Backups/chatserver-backups/
30 5 * * * /etc/monitoring/scripts/backups.sh /var/lib/homebox-inventory/ file:///var/storage/wastebox/Backups/homebox-inventory-backups/
37 5 * * * /etc/monitoring/scripts/backups.sh /var/storage/vpn/ file:///var/storage/wastebox/Backups/amnezia-vpn-backups/

20 6 * * * cp -fp /var/storage/wastebox/Music/Library/*.m3u /var/storage/wastebox/Backups/Playlist-files/
30 6 * * * /etc/monitoring/scripts/backup.sh /var/storage/wastebox/Backups/Playlist-files/ file:///var/storage/wastebox/Backups/Playlists/

### Restart reaction

*/10 * * * * systemctl restart reaction.service

### Podman cleanup
10 3 * * * podman container prune --force && podman image prune --all --force
### Laminar cleanup
20 3 * * 2,5 rm -fr /var/lib/laminar/run/*
### Restart services
40 3 * * * systemctl restart radicale redis webdis
### Upgrading yt-dlp
50 3 * * * python3 -m venv /opt/virtualenv && /opt/virtualenv/bin/pip3 install --upgrade yt-dlp

### wiki synchronization
* * * * * cd /var/lib/wiki/kb && git pull && git push origin master

### deviceping
*/10 * * * * /usr/local/bin/deviceping-receiver

### Kanboard stats
30 8 * * 2,4,7 /usr/local/bin/kanboard-stats
