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