Mercurial > code > home > repos > photoprism
diff update/update.sh @ 2:781290b4a683
nightly updater. performance config attempts & notes
author | drewp@bigasterisk.com |
---|---|
date | Fri, 24 Feb 2023 18:31:20 -0800 |
parents | update.sh@9dc67ae8b507 |
children | a248c94091e7 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/update/update.sh Fri Feb 24 18:31:20 2023 -0800 @@ -0,0 +1,12 @@ +#!/bin/zsh + +date +/my/pda/note10/copy_photos > /tmp/photo_touched_dirs + +date + +for x (`cat /tmp/photo_touched_dirs`) { + kubectl exec -it deploy/photoprism -c photoprism -- photoprism index $x +} + +touch /my/pda/note10/photos_updated