I have a script that runs a curl command with a soap xml file.
If i run it manually the output is saved to a log file.
If i put it in cron, the output does not write to a file.
curl --insecure --header "Content-Type:text/xml;charset=UTF-8" --header "SOAPAction: findPeopleByCriteria" --data @soap.xml
https://mysite.edu/staff/people.wsdl --cert pemfile.pem >> curlout.log
If i run it manually, i get the output to the file.
But when i set it up via cron to run automatically, no output to the file.
Anyone ever seen this before? I've tried the -o option with curl, different redirect variables (2>&1, etc.) nothing seems to work when its in cron.
Thanks!