Added Shellscripts

This commit is contained in:
jhummel 2020-08-30 20:28:34 +02:00
parent 9016d94571
commit 24e288d144
2 changed files with 9 additions and 0 deletions

4
cam.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
gphoto2 --capture-image-and-download
sleep 2
sudo -u pi php /var/www/html/nextcloud/occ files:scan all

5
cam1.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
gphoto2 --capture-image-and-download -F 5 -I 5
sleep 2
sudo -u pi php /var/www/html/nextcloud/occ files:scan all