New issue 61 by doenietzomoeilijk: LaunchDaemon for MacOS X users (to be
used instead of cron entries)
http://code.google.com/p/feed-on-feeds/issues/detail?id=61
MacOS X uses launchd rather than cron. It's still possible to use the
latter, but you're not really
supposed to.
For the Mac-users amongst us, here's the launchd file I use, or at least a
template for it. If you're
going to use it, you should edit it -- it's a plain text file that you
should be able to edit in any
text editor, including TextEdit -- just make sure it doesn't save the thing
as RTF.
In line 11, you should change the URL to properly reflect your situation.
In line 14, you specify how often this task is run, in seconds. In my
example, the task is run
every 10 minutes.
After you're done editing it, save it and tell launchd to use it. There's
two options:
To run it as "you", only when you're logged in, you put it in
~/Library/LaunchAgents/ .
You load the file into launchd by opening a Terminal and typing (without
quotes:
'launchctl load -w ~/Library/LaunchAgents/com.feedonfeeds.plist'
To run it as root, whenever the machine is *on*, you put it in
/Library/LaunchDaemons/ . The
Finder will need you to authenticate for that, and yes, you need to have
Administration rights.
The Terminal command in this case is:
'sudo launchctl load -w /Library/LaunchDaemons/com.feedonfeeds.plist'
This will ask you for your password.
If you want to change the plist file (because you moved your install, or
because you want to
change the timing), you need to unload the file first (launchctl unload -w
{file}), edit it, and then
load it again.
Hope this helps anyone.
Attachments:
com.feedonfeeds.plist 464 bytes
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings