Current Issue


Table of contents

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 12.0

Version 12.0 delivers every issue of Sys Admin from 1992 through 2006 and every
issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!

Sys Admin Magazine > Archives > 2007 > July 2007
SysAdminMag.com

Updating a Public Calendar Automatically

Randal L. Schwartz

I maintain a "public" calendar, so that my friends and associates can see where I'll be. The calendar started as part of my ~/.plan file in my home directory on my first Internet-connected host at Teleport more than a decade ago. For those of you too young to remember, the dot-plan file was revealed by executing finger on the person, specifying both the username and the host. By placing my schedule in my plan file, you could find out where I'd be.

During the passing years, the use of finger became more worrisome and eventually fell out of favor, especially since the Web was a bit more secure and a lot more familiar. To accommodate, I simply symlinked my dot-plan file into a corresponding URL on my Web server, yielding the somewhat awkward and anachronistically named URL of www.stonehenge.com/merlyn/dot-plan.txt. I still edit it by updating ~/.plan with my favorite text editor.

Inside my ~/.plan file, my upcoming schedule occupies the last half and currently looks something like:

Future plans:

07 to 19 May 2007: Buffalo (NY) working for buffalo.edu
21 May 2007: Portland (OR) speaking at Advanced PLUG about PostgreSQL
23 to 26 May 2007: Portland (OR) working for geekcruises.com
26 May to 03 Jun 2007: MacMania 6 out of Seattle for Alaska 
   (www.geekcruises.com)
24 Jun to 01 Jul 2007: Houston (TX) for YAPC::NA::2007

Now, up until yesterday, I was manually editing that portion of the file, trying to keep it in sync with my laptop's calendar (using Mac OS X's iCal application). As I went through the sporadic recognition of "oh my gosh, it's probably out of sync again", followed by a painful scrutiny of each of my personal calendar items to see whether they should be published, followed by cutting and pasting those items into the editor window, I thought you know, there must be a better way.




MarketPlace

Build IT Knowledge with Current & Trusted Content
Helps Employees Develop & Hone New Technical Programming Skills. Sign Up & Get Full Access.

Workflow Enabled Help Desk & IT Service Management
Automate service desk activities and integrate processes across IT. Learn more here.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

Discover WinDev 11 RAD
and develop 10 times faster ! ALM, IDE, .Net, PDF, 5GL, Database, 64-bit, etc. Free Express version

Wanna see your ad here?