Re: How do you get iCal to run an Applescript
Re: How do you get iCal to run an Applescript
- Subject: Re: How do you get iCal to run an Applescript
- From: "Gary (Lists)" <email@hidden>
- Date: Sun, 10 Jul 2005 01:24:53 -0400
"Michelle Steiner" wrote:
> Mine is going to run a script twice a day (I guess I need two events
> for that); the morning script will set mail to check mail once a
> minute
Ouch! That's server murder. ;)
In addition to being a tad greedy, mail daemons are not even providing that
short an interval from their incoming spool [1], so you are beating two
upstanding processors for no reason.
Ten minutes is widely considered to be a respectful interval for pinging a
POP box. (This is evident in a typical setting of 10 minutes for POP-locks
[2] on those boxes.)
Your own client-side POP interval should not be shorter than the server-side
spool interval, nor should it (in theory, for server efficiency) be shorter
than the the typical duration of a POP session ('box in use') (nor shorter
than the AppleScript's execution time, perhaps, but I don't know.)
Perhaps these are things you would (or have) come to realize, but I thought
it appropriate to mention.
Best,
--
Gary
[1] Given that your domain traffic is coming through Pairnet ("169695 sites
hosted" according to Google q="pairnet"), you can know that this is a
virtual host server, and that giant IP'ed mail spools pile in the mail and
route it off to accounts. This means that your own POP account can not
possibly be fed in an interval as short as 1 minute.
[2] Mail daemons can handle a box being popped while it's already in use.
However, this takes some finite time and generates more traffic. Long mail
reads, with additional incoming requests to fend off, are made less
efficient and everyone suffers a bit.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden