Quantcast

Forums | MacLife

You are not logged in.

#1 2008-04-23 12:49 pm

lord funk
Title
Registered: 2000-12-11
Posts: 2276

Start iCal every morning - harder than it sounds

I learned launchd in Leopard, and I run it on my desktop which stays on 24/7.  I use it to open iCal every morning so I can see my daily schedule.  That's not the problem.

The problem is, I want iCal to open every morning on my laptop, which goes to sleep every night.  There has to be a way to do this.

I know you can schedule activities to occur when the computer wakes from sleep.  But I don't want iCal opening every time I open the laptop - just once each day the first time I wake the computer.  Is this possible?


In and around the lake,
Mountains come out of the sky
And they stand there!

Offline

 

#2 2008-04-23 1:15 pm

Fracai
Evacipate
From: St. Elsewhere
Registered: 2000-05-25
Posts: 2835

Re: Start iCal every morning - harder than it sounds

Why don't you just leave it running all the time?


   i am jack's amusing sig file
        http://alum.wpi.edu/~arno/i/s.png
Satellite Lot :: Second Summer

Offline

 

#3 2008-04-24 9:10 am

lord funk
Title
Registered: 2000-12-11
Posts: 2276

Re: Start iCal every morning - harder than it sounds

Fracai wrote:

Why don't you just leave it running all the time?

I'd rather not, for a few reasons.

Well it turns out that in Leopard, launchd runs scheduled items immediately after waking from sleep.  In Tiger, the scheduled event is offset by the time the computer was asleep.

Maybe this will work: how do I run scripts when the computer wakes up?  Maybe I can test to see what time it is first, and if it's in the morning iCal will open.


In and around the lake,
Mountains come out of the sky
And they stand there!

Offline

 

#4 2008-04-24 9:36 am

mrreet2001
Member
From: NW Ohio
Registered: 2005-05-25
Posts: 4334
Website

Re: Start iCal every morning - harder than it sounds

lord funk wrote:

Fracai wrote:

Why don't you just leave it running all the time?

I'd rather not, for a few reasons.

Well it turns out that in Leopard, launchd runs scheduled items immediately after waking from sleep.  In Tiger, the scheduled event is offset by the time the computer was asleep.

Maybe this will work: how do I run scripts when the computer wakes up?  Maybe I can test to see what time it is first, and if it's in the morning iCal will open.

Make an iCal event that opens iCal every morning at a certain time. Make the event repeat every day. If you don't want to see the same event everyday put it in a separate calendar in ical


2.66Ghz QuadCore-Nehalem w/24"LED CD ---2.2Ghz BlackMB---15" 2.4Ghz MBP(work)
Dual 2.3Ghz G5 (4G Ram, 2x 250G HD)(10.5 server)--- 400Mhz G4 PM (10.4 Server)
1.5GHz Powerbook---1.6Ghz G5 iMac
"So he fels down in a poisoning gas."

Offline

 

#5 2008-04-24 12:13 pm

user
Your plastic pal who's fun to be with
From: I'm not getting you down, am I
Registered: 2001-10-15
Posts: 16030

Re: Start iCal every morning - harder than it sounds

Have iCal open itself? Now that's what I call bootstrapping!


Aw, he's no fun, he fell right over.

Unless you become as little children, there's no way you will believe this crap.

Offline

 

#6 2008-04-24 5:44 pm

lord funk
Title
Registered: 2000-12-11
Posts: 2276

Re: Start iCal every morning - harder than it sounds

mrreet2001 wrote:

Make an iCal event that opens iCal every morning at a certain time. Make the event repeat every day. If you don't want to see the same event everyday put it in a separate calendar in ical

I can't believe that worked!  It's like getting to the end of the movie and realizing the bad guy's been right in front of you the whole time.  Thanks.

Last edited by lord funk (2008-04-24 5:45 pm)


In and around the lake,
Mountains come out of the sky
And they stand there!

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson