updated scripts

This commit is contained in:
2023-08-20 19:26:08 -05:00
parent 6ab678a277
commit d3b7f81f9b
5 changed files with 274 additions and 52 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/bash
find "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/PhotoTranscoder" -name "*.jpg" -type f -mtime +5 -delete
find "/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/PhotoTranscoder" -name "*.ppm" -type f -mtime +5 -delete
curl -fsS -m 10 --retry 5 -o /dev/null https://uptimekuma.akanealw.com/api/push/vOOCgMo8GW?status=up&msg=OK&ping=

View File

@@ -21,3 +21,4 @@
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h dom mon dow command
0 15 * * * /root/scripts/clean-plex-photo-cache.sh