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



I did a bit of work on this today and still no 100% solution, but I
did run across a mention that launchd jobs must last at least 60
seconds, so I played with it.

If I add a /etc/periodic/daily/999.daily.delay file which simply
contains "sleep 60" (I know) it still fails to send the email.

However if I create a new script that contains

    /usr/sbin/periodic daily
    sleep 1

and generate a new launchd plist to call that (instead of
/usr/sbin/periodic directly) that IS sufficient to make it work.
Comment out the sleep statement and it fails.

There's very little benefit to launchd in the configs I'm working
with, so I may well simply revert to cron! :)
 _______________________________________________
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>)



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.