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


Click here to return to the '10.4: Run Anacron via launchd' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Run Anacron via launchd
Authored by: jpbjpbjpbjpb on May 19, '05 12:55:41PM

Yeah, there's a plist file for cron, but on my laptop, ps showed that cron wasn't actually getting loaded, or at least it wasn't running.

I installed as an upgrade, though, not a clean install, but that shouldn't have made a difference.



[ Reply to This | # ]
10.4: Run Anacron via launchd
Authored by: fungus on May 19, '05 04:18:10PM
Of course it isn't running. launchd is smart enough to only run it when there actually is a crontab for it to use. from launchd.plist(5) manpage:
WatchPaths
<array of strings>
This optional key causes the job to be started if any one of the listed paths are modified.
QueueDirectories
<array of strings>
Much like the WatchPaths option, this key will watch the paths for modi- fications. The difference being that the job will only be started if the path is a directory and the directory is not empty.


[ Reply to This | # ]