For those curious this is from a Canon A95 with AC adapter using gphoto2: gphoto2 --capture-image --interval 300 --filename webcam.jpg --force-overwrite --hook-script /home/mmccune/bin/webcam.sh