Originally posted by gorickey:
Wouldn't this involve some sort of daemon constantly running in the background?
Yes, and since we all already have such a daemon running, we should make use of it. This daemon is
cron.
There are two ways. You can open the browser window, like you're wanting to do, or if you just want the page to load and don't care about seeing it, you can use
curl from the command line. I use
curl to update my dynamic DNS IP once every half hour.
First, you will need
CronniX. It's a simple GUI editor for cron and it's free.
General Step: You will need to do this no matter which way you want it to work. In CronniX, hit the "New" button. Set the minute to 0, and click the "any" box for hour, day of month, month, and day of week. The command depends on which way you want it.
To have it open a web page, set the command to:
osascript -e 'open location "http://www.macnn.com"' > /dev/null
To have it just load the URL (for dynamic IP updating or counter increase, for example), use the command:
curl "http://www.macnn.com" > /dev/null
Change "http://www.macnn.com" to whatever URL you want to open. Make sure you click the "Save" button in CronniX when you're done editing.
Hope this helps.