Home Forums OS X Server and Client Discussion Questions and Answers Some Basic launchd questions/Apache log rotation

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #371284
    Bill Eccles
    Participant

    Apparently, there’s something horribly wrong with my plist file, and don’t I wish I could find it!

    I created a new plist using Lingon and used your pointless script (and I mean that in a good way), and it loaded fine, executed fine, and unloaded fine, too.

    Guess I’ll just have to try a Lingon-generated plist with my script now.

    I’ll let you know how it comes out…

    #371291
    khiltd
    Participant

    I’d guess that you either copied and pasted an example configuration file out of a web page or a PDF file or used TextEdit.app and introduced non-ASCII data to the plist. Open it with a good text editor and tell it to “show invisibles” or “zap gremlins” or something and you’ll more than likely see the cause.

    #371293
    Bill Eccles
    Participant

    Nope, no garbage.

    But there’s a split line (which shouldn’t make a difference, but…) and I used a key “Day” instead of “Weekday,” and I’ll bet that’s it.

    Problem solved!

    Thanks for all your help,
    Bill

    #371296
    khiltd
    Participant

    Ah, missed that. You should have seen some launchd errors in the logs if the syntax was incorrect.

Viewing 4 posts - 16 through 19 (of 19 total)
  • You must be logged in to reply to this topic.

Comments are closed