I've been racking my brain getting CasperCheck to work. I was having a problem with the curl command it was passing to get the quickadd package downloaded but was able to get around that.
Now my problem is that if I run the caspercheck.sh file manually through terminal, it works as expected.
2015-07-30 14:09:41 ======== Starting CasperCheck ========
2015-07-30 14:09:41 Checking for active network connection.
2015-07-30 14:09:41 Network connection appears to be live.
2015-07-30 14:09:41 Pausing for two minutes to give WiFi and DNS time to come online.
2015-07-30 14:11:41 Access to site network verified
2015-07-30 14:11:41 Machine can connect to my.jss.com over port <port>. Proceeding.
2015-07-30 14:11:41 Downloading Casper agent installer from server.
2015-07-30 14:11:41 Downloaded zip file appears to be a valid zip archive. Proceeding.
2015-07-30 14:11:42 Machine can connect to the JSS on my.jss.com.
2015-07-30 14:11:45 Casper enabled and able to run policies
2015-07-30 14:11:45 ======== CasperCheck Finished ========
However, when it's run from the launchDeamon it fails the quickadd download.
2015-07-30 14:12:19 ======== Starting CasperCheck ========
2015-07-30 14:12:19 Checking for active network connection.
2015-07-30 14:12:19 Network connection appears to be live.
2015-07-30 14:12:19 Pausing for two minutes to give WiFi and DNS time to come online.
2015-07-30 14:14:19 Access to site network verified
2015-07-30 14:14:19 Machine can connect to my.jss.com over port <port>. Proceeding.
2015-07-30 14:14:19 Downloading Casper agent installer from server.
2015-07-30 14:14:19 /tmp/QuickAdd.pkg.zip not found. Exiting CasperCheck.
2015-07-30 14:14:19 ======== CasperCheck Finished ========
Any thoughts would be greatly appreciated!


