Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Take a webcam capture, store it and push a notification.
DATE=`date +%s`
# Call the streamer
streamer -f jpeg -o $FILENAME
# Display a user notification
DISPLAY=:0.0 notify-send -u 'low' -i $FILENAME "Cheese!" "Stream saved!"

This comment has been minimized.

Copy link
Owner Author

commented Jun 6, 2011

Tested on Ubuntu 11,
added to Crontab :

(every 10 minutes)

*/10 * * * * /home/username/CamStream/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.