Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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>
share|improve this question

closed as off-topic by mdpc, Dave M, cole, Ward, Journeyman Geek Dec 21 '13 at 10:20

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions must be relevant to professional system administration. Server Fault is dedicated to professional system and network administrators. End user and enthusiast questions are off-topic (contact your system administrator or hire a professional to help you out). Please see the Help Center for more information." – mdpc, Ward, Journeyman Geek
If this question can be reworded to fit the rules in the help center, please edit the question.

I feared that – but five nervous guys with huge reputation from stackoverflow told me to post it here. I'm sorry for that. Thanks to LCC anyway. – user3077223 Dec 23 '13 at 8:27

1 Answer 1

up vote 0 down vote accepted

launchd does not interpret $(date). A shell does:

    <string>echo Hi, your FOO.plist was here at $(date)</string>
share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.