updated scripts
This commit is contained in:
5
files/bashscripts/proxyserver/root/clean-plex-photo-cache.sh
Executable file
5
files/bashscripts/proxyserver/root/clean-plex-photo-cache.sh
Executable 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=
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user