#!/bin/bash

# Example script from the Going Linux podcast. http://goinglinux.com/

# Opens a window to remind you of things. Change the text to whatever you like.
# Make as many copies as you like and give them distinct names.
# Cron will display them at the specified dates and times.
# See cron instructions in the Going Linux show notes for episode 41.
# http//shownotes.goinglinux.com#glp041.

# The following command is a work-around.
# It gives cron access to the display.
# I found it in the Ubuntu forums.

export DISPLAY=:0

# Here's the command that opens a notification window.
# It's copied from the zenity help pages in Ubuntu.

zenity --info --text="Time to listen to Going Linux!!"
