Member Since: Feb 09, 2009
02-09-2009, 10:47 PM
I've got a launchd script that... looks 100% fine but doesn't seem to work.
Here is the code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
Now the PHP script itself works fine when run through the browser, and there arent any errors in system.log from launchd... so i really have no idea where the error is occuring or what the error is. I also tried the ProgramArguments string: <string>php</string> as <string>/usr/bin/php</string> ... which made no difference.
The permissions on the files are correct also, so there isn't a problem there.