How to send fortune to gmail status

Based on this blog:

http://blog.thecybershadow.net/2010/05/08/setting-shared-google-talk-gmail-status-programmatically/

I made a script (gstatus-fortune.sh) to automate the gmail status change with “fortune” sentences:

/home/giovanni/mine/gstatus/gstatus.py default “$(/usr/games/fortune -s)”

and configured the crontab:

0 * * * * /home/giovanni/mine/gstatus/gstatus-fortune.sh

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s