Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: periodic.conf: unable to send emails




On 09/mag/08, at 11:48, Marc Farnum Rendino wrote:
On Fri, May 9, 2008 at 1:58 AM, Giorgio Valoti <email@hidden> wrote:
In the previous post you showed that by wrapping the periodic call inside
another script that also sleeps for a second you can make it work. However,
I'd expect to have to make it sleep for at least 10 seconds, right? Also,
why is this workaround needed only for Leopard server?

Very good questions - and one I don't know the answers. :/

This one is even better: why a delay involving launchd has a side effect on setting that is specific to periodic (which, after all, is just a shell script)?



I will say this: I use docs as a guide and then test to find out what really happens, especially to identify boundary conditions.

It may be not so much the amount of sleep, as the call itself. I did
test via 'time' and see that daily generally takes less than 1 second
on my system, so adding 1 second certainly doesn't bump it above 10.
Or maybe any call would do there. (I did also generate a quick
/etc/periodic/daily/999.daily.delay which just does "sleep 60", but
this also ran fine, but failed to email.)

I have been unable to find the applicable difference between MOSX &
MOSXS systems i this case; it's vexing.

I filed a bug report. Even if we find a workaround I think that something’s wrong.



Thank you -- Giorgio Valoti




_______________________________________________ Do not post admin requests to the list. They will be ignored. Macos-x-server mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden
References: 
 >periodic.conf: unable to send emails (From: Giorgio Valoti <email@hidden>)
 >Re: periodic.conf: unable to send emails (From: Robert Cerny <email@hidden>)
 >Re: periodic.conf: unable to send emails (From: Giorgio Valoti <email@hidden>)
 >Re: periodic.conf: unable to send emails (From: "Marc Farnum Rendino" <email@hidden>)
 >Re: periodic.conf: unable to send emails (From: Giorgio Valoti <email@hidden>)
 >Re: periodic.conf: unable to send emails (From: "Marc Farnum Rendino" <email@hidden>)
 >Re: periodic.conf: unable to send emails (From: "Marc Farnum Rendino" <email@hidden>)
 >Re: periodic.conf: unable to send emails (From: "Marc Farnum Rendino" <email@hidden>)
 >Re: periodic.conf: unable to send emails (From: Giorgio Valoti <email@hidden>)
 >Re: periodic.conf: unable to send emails (From: "Marc Farnum Rendino" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.