Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
Is it possible to implement the following shell script completely as a launchd plist to generate a signature with timestamp in the StandardErrorPath / StandardErrorPath files?
echo "Hi, your FOO.plist was here at $(date)"
This one doesn't work:
<string>"Hi, your FOO.plist was here at $(date)"</string>
3,04633 gold badges2727 silver badges5353 bronze badges
asked Dec 19, 2013 at 16:07
launchd does not interpret
$(date). A shell does:
<string>echo Hi, your FOO.plist was here at $(date)</string>
answered Dec 21, 2013 at 5:41
18111 silver badge11 bronze badge