Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

launchd daily

4 réponses
Avatar
unbewusst.sein
avec Lingo j'ai créé un "LaunchDaemons" qui >devrait< se lancer tous les
matins à 3H15, mais rien ne se passe ?

bien sûr j'ai vérifié que mon script :
/Users/yt/bin/daily
fonctionne tout seul

qq minutes après "Save and Load" l'icône "loaded" devient rouge et à la
console j'ai :
Workaround Bonjour: Unknown error: 0


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>yt_daily</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Users/yt/bin/daily</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>3</integer>
<key>Minute</key>
<integer>15</integer>
</dict>
</dict>
</plist>

--
It's easy to play any musical instrument: all you have to do is
touch the right key at the right time and the instrument will
play itself. -- J.S. Bach

4 réponses

Avatar
JM Marino
Le Fri, 23 Mar 2007 20:19:20 +0100, Une Bévue a écrit :

avec Lingo j'ai créé un "LaunchDaemons" qui >devrait< se lancer tous les
matins à 3H15, mais rien ne se passe ?

bien sûr j'ai vérifié que mon script :
/Users/yt/bin/daily
fonctionne tout seul

qq minutes après "Save and Load" l'icône "loaded" devient rouge et à la
console j'ai :
Workaround Bonjour: Unknown error: 0


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>yt_daily</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/Users/yt/bin/daily</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>3</integer>
<key>Minute</key>
<integer>15</integer>
</dict>
</dict>
</plist>
pourquoi ne pas essayer cronx (front end pour la gestion du daemon crond) ?


Avatar
unbewusst.sein
JM Marino wrote:

pourquoi ne pas essayer cronx (front end pour la gestion du daemon crond) ?


parce qu'il le vaut bien ? ;-)

non + simplement j'essaie de passer à la mode verbose plist ))

j'ai pompé la plist du daily apple....
--
Une Bévue

Avatar
luc
Une Bévue wrote:

Workaround Bonjour: Unknown error: 0


(soupir)

<http://www.google.com/search?q=launchd%20Workaround%20Bonjour>

-->
<http://www.cutedgesystems.com/weblog/index.php?phrase=workaround+bonjou
r>

-->
"...the bug introduced by the OS X 10.4.7 update (that "Workaround
Bonjour" thing) whereby the system would stall for about 60 seconds
whenever a call is made to /bin/launchctl to start a launchdaemon..."

--
Luc Heinrich

Avatar
unbewusst.sein
Luc Heinrich wrote:


(soupir)


d'autant que je ne dis jamais Bonjour mais Grüßgot ;-)
--
Une Bévue