Created
December 11, 2019 08:09
-
-
Save kleo/d233ddaf38a5638a4991d2dac12eb419 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # unifi set-inform | |
| */5 * * * * /usr/bin/ssh [email protected] '/usr/bin/mca-cli-op set-inform http://192.168.10.250:8080/inform' > /dev/null 2>&1 | |
| */5 * * * * /usr/bin/ssh [email protected] '/usr/bin/mca-cli-op set-inform http://192.168.10.250:8080/inform' > /dev/null 2>&1 | |
| */5 * * * * /usr/bin/ssh [email protected] '/usr/bin/mca-cli-op set-inform http://192.168.10.250:8080/inform' > /dev/null 2>&1 | |
| */5 * * * * /usr/bin/ssh [email protected] '/usr/bin/mca-cli-op set-inform http://192.168.10.250:8080/inform' > /dev/null 2>&1 | |
| # cctv office hours | |
| 0 8-17 * * * ffmpeg -i rtsp://192.168.10.95:554/onvif1 -vcodec copy -r 10 -t 3600 -y /home/kbeflo/Docker/Volumes/nextcloud/data/kbeflo/files/cctv/$(date +\%Y\%m\%d\%H).mp4 | |
| # cctv cleanup check every 10 days files older than 20 days | |
| 0 0 * * 0 find /home/kbeflo/Docker/Volumes/nextcloud/data/kbeflo/files/cctv -mtime +20 -type f -delete | |
| # cctv nextcloud container scan files | |
| 0 8-17 * * * docker exec -it nextcloud s6-setuidgid abc php7 /config/www/nextcloud/occ files:scan kbeflo | |
| ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment