questions about writing Portfile
Craig Treleaven
ctreleaven at cogeco.ca
Fri Feb 28 08:04:55 PST 2014
At 10:43 AM -0500 2/28/14, Julien T wrote:
>- there is a startupitem option but it does not seem any way to
>include a cron-like job through launchd? script/exec to launch every
>day/month. So I suppose for now, we include our own file.
I won't try to handle all your questions! ;)
launchd handles periodic execution on OS X. The logrotate port can
install a launchd plist that causes it to run at 5:30 each morning.
See:
https://trac.macports.org/browser/trunk/dports/sysutils/logrotate/Portfile
https://trac.macports.org/browser/trunk/dports/sysutils/logrotate/files/org.macports.logrotate.plist.example
Craig
More information about the macports-users
mailing list