The windows sort command was definitely the problem. I had not set a PATH for cron so it was using the default PATH. When I set a PATH in the crontab it resolved the issue. One thing I'm not quite sure of is why didn't it work properly from cron when I specified the full path to sort in the script.....
Thanks! - Mark Horning -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/