This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: trouble running a script with a while loop from cron
- From: Mark Horning <mhorning at markwest dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 22 Jul 2008 09:27:20 -0600
- Subject: Re: trouble running a script with a while loop from cron
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/