Gallery: add prune button (behold 100), webhook automation, shell_command
This commit is contained in:
@@ -1 +1,2 @@
|
||||
indkorsel_generate_gallery: "/usr/local/bin/docker exec homeassistant python3 /config/python_scripts/generate_indkorsel_gallery.py"
|
||||
indkorsel_prune_keep_100: "ls -1 /config/www/snapshots/indkorsel/*.jpg | grep -v '/latest.jpg$' | sort -r | tail -n +101 | xargs rm -f"
|
||||
|
||||
Reference in New Issue
Block a user