Hottest Free Downloads - DownloadPipe.com Over 197,000 downloads! Bookmark Now!
DownloadPipe.com - New Downloads Every Minute
 SEARCH:
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

plist StartCalendar date and time syntax

 
   Mac (Home) -> Programmer Help RSS
Next:  Single Calendar instead of multiple using MobileM..  
Author Message
P. Sture

External


Since: Jul 22, 2009
Posts: 11



(Msg. 1) Posted: Mon Sep 28, 2009 11:25 am
Post subject: plist StartCalendar date and time syntax
Archived from groups: comp>sys>mac>programmer>help (more info?)

I have a plist I am using to kick off a job every half hour, but I would
like to restrict it to, for example only every half hour from 8:15 to
17:45.

I have come up with this, but I wonder if there's a more elegant way.

<key>StartCalendarInterval</key>
<array>
<dict>
<key>Hour</key>
<integer>08</integer>
<key>Minute</key>
<integer>15</integer>
</dict>
<dict>
<key>Hour</key>
<integer>08</integer>
<key>Minute</key>
<integer>45</integer>
</dict>
<dict>
<key>Hour</key>
<integer>09</integer>
<key>Minute</key>
<integer>15</integer>
</dict>

.... etc
</array>

According to the man page for launchd.plist(5) under
StartCalendarInterval:

"The semantics are much like crontab(5)."

But so far I don't seem to be able to specify lists or steps as
described by man 5 crontab. Should these be specified as strings instead
or am I stuck with specifying each event in turn?

--
Paul Sture
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Read plist from Carbon - Hi folks, Is it a way to read a plist file from the Carbon app, that is using Carbon API and maybe lower-level API, but not Cocoa API? To be specific I need to know the default browser. I det retrieve this info from..

XCode and location of info.plist file - I'm using XCode 2.1 and I want to have the project's info.plist file be in a subfolder of the project (the subfolder is called Resources). So, in other words, I have: /Volumes/MacHD/MyProject/MyProject.xcodeproj..

Template Syntax Error in Xcode: parse error before `>' token - I'm porting some code over from Codewarrior and have run into a problem with method templates. I have a class with a template method, which passes the typename to another template method of another class object. So in the code below, the mBuffer object..

Loop: CPU time - Hi I have a loop and in this loop I am waiting for a flag. If I do this, the loop absorb all CPU time. How can I give time to the CPU (to another process in the same application)? I try that with: void releaseEventQueue() { EventRef e; ..

Real-time Stock Ticker Question - Hello, I need some assistance. Please understand I'm not asking for specific details (though they are helpful) but rather, I just need some general considerations. I've been engaged to redesign a stock-ticker to look like whatever I need it to look..
       Mac (Home) -> Programmer Help All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows Forums
 Game Forums
 Linux Forums
  Mac Forums
 PDA Forums
 Mobile Forums
  Top  |  Store  |  RSS Feeds RSS  |  Data Feeds  |  Advertise  |  Submit  |  Bookmark  |  Newsletter  |  Contact