Skip to content

Instantly share code, notes, and snippets.

@trauber
Created October 29, 2013 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trauber/7219242 to your computer and use it in GitHub Desktop.
Save trauber/7219242 to your computer and use it in GitHub Desktop.
A Smarter Dumbphone

I can't find any documentation supporting piping stdout to mutt, but it works for me. Provide the -nc to gcal for plain text output. Use --cal to specify a calendar to use. The agenda argument tells gcalcli to list the next three days' events.

gcalcli --nc --cal home agenda| mutt -s "subject here" -c phonenumber1@smsgateway phonenumber2@smsgateway

I run this in my crontab and everbody in the family gets a text message listing upcoming events.

This works especially well for me. I drop phones a lot and just get dumbphone replacements.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment