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.
On Mon, Jul 21, 2008 at 05:27:38PM -0400, Mark J. Reed wrote:
>On Mon, Jul 21, 2008 at 5:21 PM, Mark J. Reed wrote:
>> On Mon, Jul 21, 2008 at 5:14 PM, Mark Horning wrote:
>
>Rats. Forgot to PC[M]MTNQREAI[M]R. Sorry.
Sorry won't cut it. We've unleashed the hippos on you.
cgf
--
Unsubscribe
On Mon, Jul 21, 2008 at 5:21 PM, Mark J. Reed wrote:
> On Mon, Jul 21, 2008 at 5:14 PM, Mark Horning wrote:
Rats. Forgot to PC[M]MTNQREAI[M]R. Sorry.
--
Mark J. Reed <[EMAIL PROTECTED]>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.c
On Mon, Jul 21, 2008 at 5:14 PM, Mark Horning <[EMAIL PROTECTED]> wrote:
> + sort -u
> -uThe system cannot find the file specified.
That message is coming from the Windows SORT command, not the Cygwin
one. Check cron's $PATH - it must have the Windows system dir near the
front.
--
Mark J. Reed <
Hi All,
I've a problem with a script and I've been trying to troubleshoot it.
When I run it by hand it works fine but it fails from cron. From what i
can gather it doesn't like my while loop and the error I'm logging is
"The system cannot find the file specified". Here are the particulars:
5 matches
Mail list logo