This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cron not finding executable


Below is listing of crontab -l, test.sh, mount and ll /

49 15 * * 0-6 /home/rthompso/test.sh
49 15 * * 0-6 /C/home/rthompso/test.sh
49 15 * * 0-6 /C/cygwin/home/rthompso/test.sh

all three incarnations failed with "not found".

cat /home/rthompso/test.sh =
    #!/usr/bin/sh

    /usr/bin/date
    pwd

WS014_NT500:/> mount
C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type 
system (binmode)
C:\cygwin\bin on /usr/bin type system (binmode)
C:\cygwin\lib on /usr/lib type system (binmode)
C:\cygwin on / type system (binmode)
C: on /C type user (binmode)
D: on /D type user (binmode)
F: on /lab type user (binmode,exec)
s: on /cygdrive/s type user (binmode,noumount)
u: on /cygdrive/u type user (binmode,noumount)

WS014_NT500:/> ll / |grep ^d
drwxr-xr-x    4 Reid.Tho Administ        0 Jun 25  2001 home/
drwxr-xr-x    2 Reid.Tho Administ        0 Sep 13  2001 sbin/
drwxr-xr-x    3 Reid.Tho Administ        0 Jan 25 12:53 CVSROOT/
drwxr-xr-x    7 Reid.Tho Administ     4096 Apr 16 08:45 var/
drwxr-xr-x    3 Reid.Tho Administ   135168 May 10 07:50 bin/
drwxr-xr-x   15 Reid.Tho Administ    36864 May 10 07:50 lib/
drwxr-xr-x   30 Reid.Tho Administ   376832 May 10 10:21 C/
drwxr-xr-x   21 Reid.Tho Administ     4096 May 10 12:29 usr/
drwxr-xr-x    8 Reid.Tho Administ     4096 May 10 12:30 etc/
drwxr-xr-x   13 Reid.Tho Administ     4096 May 10 13:13 ../
drwxr-xr-x   13 Reid.Tho Administ     4096 May 10 13:13 ./
drwxr-xr-x  104 Reid.Tho Administ   339968 May 10 13:16 D/
drwxr-xr-x    3 Reid.Tho Administ     4096 May 10 13:20 tmp/

-----Original Message-----
From: Larry Hall (RFK Partners, Inc) [mailto:lhall@rfk.com]
Sent: Friday, May 10, 2002 1:59 PM
To: Reid Thompson; cygwin@cygwin.com
Subject: Re: cron not finding executable


At 08:06 AM 5/10/2002, Reid Thompson wrote:
 >If someone could help, it would be appreciated.
 >
 >I am getting the error message at the bottom emailed when cron 
attempts to perform crontab entries ( not finding the executable ).
 >
 >The script exists:
 >    WS014_NT500:/home/rthompso> ll mailit.sh
 >    -rwxr-xr-x    1 Reid.Tho Administ       63 May 10 07:40 mailit.sh*
 >
 >The crontab entry is ( test entry ):
 >    42 07 * * 0-6 /home/rthompso/mailit.sh
 >
 >SYSTEM exits in /etc/group
 >WS014_NT500:/home/rthompso> cat /etc/group |grep SYSTEM
 >SYSTEM:S-1-5-18:18:
 >
 >What am I missing/doing incorrectly?

<snip>

 >/C/cygwin/home/rthompso/mailit.sh
 >
 >/home/rthompso/mailit.sh: not found


As near as I can tell, you don't have /home as a system mount point.



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]