• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: cron/Launchd Editor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cron/Launchd Editor


  • Subject: Re: cron/Launchd Editor
  • From: Philip Aker <email@hidden>
  • Date: Tue, 22 Sep 2009 15:32:50 -0700

On 2009-09-22, at 12:18:43, Robert Poland wrote:

I take it that the use of the zero in the following has also been depreciated???

<key>Day</key>
<integer>0</integer>
<key>Hour</key>
<integer>0</integer>
<key>Month</key>
<integer>0</integer>

Hi Bob,

Let's note that the word is "deprecated" not "depreciated". However I don't think either of these terms apply here.

As mentioned previously, the Day and Hour are zero-based but the Month and Year are 1-based.  In these StartCalendarInterval dictionaries, you should only supply what is needed. What is not specified is treated as a wildcard (i.e., means "every"). So:

<dict>
    <key>Hour</key>
    <integer>9</integer>
    <key>Minute</key>
    <integer>59</integer>
</dict>

means the 59th minute of the 9th hour of _every_ month of _every_ year. The documentation for these values is at <x-man-page://5/crontab> on page 1.


Philip Aker
echo email@hidden@nl | tr a-z@. p-za-o.@

Democracy: Two wolves and a sheep voting on lunch.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: cron/Launchd Editor
      • From: Bruce Robertson <email@hidden>
References: 
 >cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)
 >Re: cron/Launchd Editor (From: Philip Aker <email@hidden>)
 >Re: cron/Launchd Editor (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: Missing size values in SL Finder
  • Next by Date: Re: cron/Launchd Editor
  • Previous by thread: Re: cron/Launchd Editor
  • Next by thread: Re: cron/Launchd Editor
  • Index(es):
    • Date
    • Thread