You know how with evolution if you have a calendar setup it will display in the Gnome Clock applet. Like this:

..Well I don’t use evolution, but i do want to be able to view my calendar in the clock applet.
The calendar is generated by mozilla sunbird (which now works [version 0.3a2]
natively on 64bit YAY), mozilla sunbird using webdav publishes it to a server, this means I can access it from anywhere I want to and use phpicalendar to view my calendar.
Using a cron job I download the ics calendar file and rename it to calendar.ics (which is what the program is expecting)
The command run is: cd ~/.evolution/calendar/local/system/ && wget http://urlto/icsfile.ics && mv ./icsfile.ics ./calendar.ics
If the wget fails (say you’re not connected to the internet at the time), it won’t overwrite the calendar file because i’ve used && which means it won’t execute the next command in the sequence if the previous one failed. Once you’ve edited this to your settings add it to your crontab via the command “crontab -e”. This is my crontab, it’s set to go off every 12 hours.
michael@fornax:~$ crontab -l
# m h dom mon dow  command
0 12 * * * cd ~/.evolution/calendar/local/system/ && wget http://urlto/icsfile.ics && mv ./icsfile.ics ./calendar.ics
The crontab syntax is like this:
# (Use to post in the top of your crontab)
# ------------- min (0 - 59)
# | ----------- hour (0 - 23)
# | | --------- day of month (1 - 31)
# | | | ------- month (1 - 12)
# | | | | ----- day of week (0 - 6) (Sunday=0)
# | | | | |
# * * * * * command to be executed
0 12 * * * comand
Now reward your self with my favorite XKCD
http://xkcd.com/c149.html http://xkcd.com/c146.html
http://xkcd.com/c148.html