/cron-get-webcam

⏰ Single-pic webcam archiver for use with cron

Primary LanguagePythonThe UnlicenseUnlicense

Cron webcam archiver

  • Archive single picture webcams
  • Simple and reliable setup (32 lines of code)
  • Zero config
  • Requirements: python3 + requests + cron
  • One picture per invocation
  • Only new pictures get saved
  • Easy folder structure: yyyy-mm-dd/hhmmss (UTC)

Watch (every 5 seconds)

watch -n5 cron-get-webcam.py folder http://example.org/webcam-url.jpg

Cron (every minute)

crontab -e
* * * * * cron-get-webcam.py folder http://example.org/webcam-url.jpg

by terorie, 2019

also check out https://github.com/The-Eye-Team and https://the-eye.eu