Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'launchd does the job (at least it should)' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
launchd does the job (at least it should)
Authored by: housemaister on May 20, '05 09:32:01AM

With Tiger Apple also changed the processing of the daily, weekly and monthly scripts. These scripts should be executed by the launchd after a restart (in the morning) if they weren't executed in the night. (so anacron or XJanitor wouldn't be needed anymore for these task)
Normaly it should also work if you put youre mac to sleep during the night, but this isn't done. I have the information that Apple Engineers are aware of this bug and working on it; but I'm not sure if it is implemented in the 10.4.1 Update; no confimation of this yet.
Btw, launchd is so smart and runs these script with a very low priority so that it doesen't disturb you while you are heavily using youre machine.



[ Reply to This | # ]
launchd does the job (at least it should)
Authored by: rocteur on May 21, '05 07:19:05AM

This is NOT the case on this Tiger 10.4.1

I've had the system for 2 weeks now and in /var/log, all I have is a daily.out from 5 days ago, no weekly.out ... There should be.

Is there something one must do to make launchd do this automatically ?



[ Reply to This | # ]
launchd does the job (at least it should)
Authored by: rocteur on May 21, '05 07:27:46AM

man launchd.conf

So it looks like you have to set up a launchd.conf I'll check it out.

BTW, what a stupid man page, it does not give the format of the file ???

man launchd.conf
launchd.conf(5) BSD File Formats Manual launchd.conf(5)

NAME
launchd.conf -- launchd configuration file

SYNOPSIS
$HOME/.launchd.conf
/etc/launchd.conf

DESCRIPTION
launchd.conf contains a list of subcommands to run via launchctl when
launchd starts.

FILES
$HOME/.launchd.conf Your launchd configuration file.
/etc/launchd.conf The system's launchd configuration file.

SEE ALSO
launchctl(1), launchd(8), launchd.plist(5)

Darwin January 10, 2005 Darwin



[ Reply to This | # ]