Disabled in com.apple.periodic-daily.plist

View: New views
4 Messages — Rating Filter:   Alert me  

Disabled in com.apple.periodic-daily.plist

by ksprotte :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have seen a lot of talk about using launchd to run the periodic jobs.
However, I could not find a comment about the Disabled flag. It seems
that in the com.apple.periodic-daily.plist the Disabled flag is true by default.

I am not sure what this actually means. Could someone explain, please?

Thanks,
  Kilian

Re: Disabled in com.apple.periodic-daily.plist

by Kevin Van Vechten-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Oct 29, 2007, at 12:09 AM, ksprotte wrote:

> I have seen a lot of talk about using launchd to run the periodic  
> jobs.
> However, I could not find a comment about the Disabled flag. It seems
> that in the com.apple.periodic-daily.plist the Disabled flag is true  
> by
> default.

com.apple.periodic-daily.plist does not contain the Disabled key on my  
Leopard system.  Which system (`sw_vers -buildVersion`) are you seeing  
this on?

> I am not sure what this actually means. Could someone explain, please?

If a property list contains the Disabled key with a value of true,  
then launchctl(1) will not load the job at boot (and the job's label  
will not be listed in `sudo launchctl list`).

- Kevin

_______________________________________________
launchd-dev mailing list
launchd-dev@...
http://lists.macosforge.org/mailman/listinfo/launchd-dev

Re: Disabled in com.apple.periodic-daily.plist

by ksprotte :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

sorry I was confused by using some GUI editor for lauchd plist files.

Am 29.10.2007 um 08:23 schrieb Kevin Van Vechten:

> On Oct 29, 2007, at 12:09 AM, ksprotte wrote:
>
>> I have seen a lot of talk about using launchd to run the periodic  
>> jobs.
>> However, I could not find a comment about the Disabled flag. It seems
>> that in the com.apple.periodic-daily.plist the Disabled flag is  
>> true by
>> default.
>
> com.apple.periodic-daily.plist does not contain the Disabled key on  
> my Leopard system.  Which system (`sw_vers -buildVersion`) are you  
> seeing this on?
>

In fact my file contains:

        <key>Disabled</key>
        <false/>

I still have the impression that the periodic jobs are not executed -  
I am talking about not having my machine switched on over night. But  
I think I might still expect these jobs to be done, when I switch it  
on...

Best,
   Kilian
_______________________________________________
launchd-dev mailing list
launchd-dev@...
http://lists.macosforge.org/mailman/listinfo/launchd-dev

Re: Disabled in com.apple.periodic-daily.plist

by Dave Zarzycki :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Nov 2, 2007, at 5:41 AM, kilian_s@... wrote:

> Hi,
>
> sorry I was confused by using some GUI editor for lauchd plist files.
>
> Am 29.10.2007 um 08:23 schrieb Kevin Van Vechten:
>
>> On Oct 29, 2007, at 12:09 AM, ksprotte wrote:
>>
>>> I have seen a lot of talk about using launchd to run the periodic  
>>> jobs.
>>> However, I could not find a comment about the Disabled flag. It  
>>> seems
>>> that in the com.apple.periodic-daily.plist the Disabled flag is  
>>> true by
>>> default.
>>
>> com.apple.periodic-daily.plist does not contain the Disabled key on  
>> my Leopard system.  Which system (`sw_vers -buildVersion`) are you  
>> seeing this on?
>>
>
> In fact my file contains:
>
> <key>Disabled</key>
> <false/>
>
> I still have the impression that the periodic jobs are not executed  
> - I am talking about not having my machine switched on over night.  
> But I think I might still expect these jobs to be done, when I  
> switch it on...

Power on? Or wake from sleep?

If it is the former, we are aware of that bug, and we hope to (but  
cannot promise to) fix it in release after Leopard.

davez
_______________________________________________
launchd-dev mailing list
launchd-dev@...
http://lists.macosforge.org/mailman/listinfo/launchd-dev