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]

Fwd: cron problem in W2K Proffesional


Just for the record, i have done the following:

cygrunsrv -E cron
cygrunsrv -R cron
cygrunsrv -I cron -p /usr/sbin/cron -a -D -e
"CYGWIN=tty ntsec"
cygrunsrv -S cron

Here is my new output too.

after doing:

$CYGWIN='tty ntsec'
$EXPORT CYGWIN


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Dec 06 12:29:13 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service
Pack 2

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem 
	c:\Archivos de programa\progress
	c:\Archivos de programa\progress\bin
	c:\temp\bin\usr\local\wbin
	c:\progress\wrk\appreplicacion

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

CYGWIN = `tty ntsec'
HOME = `C:\cygwin\home\asuncion1'
MAKE_MODE = `unix'
PWD = `/home/asuncion1'
USER = `asuncion1'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  NTFS   19085Mb  84% CP CS UN PA FC     
d:  fd  FAT       95Mb  45% CP    UN           ZIP-100

C:\cygwin      /          system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  user    binmode,cygdrive

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: c:\temp\bin\usr\local\wbin\cat.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Found: c:\temp\bin\usr\local\wbin\find.exe
Not Found: gcc
Not Found: gdb
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Found: c:\temp\bin\usr\local\wbin\ls.exe
Found: c:\temp\bin\usr\local\wbin\make.exe
Found: C:\cygwin\bin\sh.exe

   45k 2001/04/25 C:\cygwin\bin\cygform5.dll
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll
   19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll
   20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll
  929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll
   28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll
   40k 2001/11/21 C:\cygwin\bin\cygpcre.dll
   39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll
  127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll
   50k 2002/03/12 C:\cygwin\bin\cygz.dll
  906k 2002/11/07 C:\cygwin\bin\cygwin1.dll
    Cygwin DLL version info:
        DLL version: 1.3.15
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 63
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Thu Nov 7 13:57:47 EST 2002
        CVS tag: cygwin-1-3-15-1
        Shared id: cygwin1S3


Cygwin Package Information
Package             Version             
_update-info-dir    00087-1             
ash                 20020731-1          
base-files          1.0-1               
base-passwd         1.0-1               
bash                2.05b-7             
cron                3.0.1-7             
ctags               5.2-1               
cygrunsrv           0.95-1              
cygutils            1.1.3-1             
cygwin              1.3.15-2            
diff                1.0-1               
diffutils           2.8.1-1             
ed                  0.2-1               
fileutils           4.1-1               
findutils           4.1.7-4             
gawk                3.1.1-5             
gdbm                1.8.0-4             
gettext             0.11.5-1            
grep                2.5-1               
gzip                1.3.3-4             
libiconv2           1.8-2               
libintl             0.10.38-3           
libintl1            0.10.40-1           
libintl2            0.11.5-1            
libncurses5         5.2-1               
libncurses6         5.2-8               
libpopt0            1.6.4-4             
libreadline4        4.1-2               
libreadline5        4.3-2               
login               1.6-1               
mc                  4.5.55-1            
nano                1.1.10-1            
ncurses             5.2-8               
pcre                3.7-1               
readline            4.3-2               
rxvt                2.7.2-14            
sed                 4.0.1-1             
sh-utils            2.0-2               
tar                 1.13.25-1           
tcsh                6.11.00-4           
termcap             20020930-1          
terminfo            5.2-3               
texinfo             4.2-4               
textutils           2.0.21-1            
vim                 6.1-2               
which               1.5-1               
zlib                1.1.4-1             
zsh                 4.0.4-1             

Use -h to see help about each section

the cron daemon is up

ps -e shows:

      PID    PPID    PGID     WINPID  TTY  UID   
STIME COMMAND
      608       1     608        608  con 1000
12:16:43 /usr/bin/bash
     1316       1    1316       1316    ?   18
12:23:45 /usr/bin/cygrunsrv
     2304    1316    1316        520    ?   18
12:23:45 /usr/sbin/cron
      860     608     860        600  con 1000
12:34:43 /usr/bin/ps


My windows 2000 professional event viewer shows the
following (sorry is in spanish):



No se encuentra la descripción del Id. de suceso ( 0 )
en el origen ( /USR/SBIN/CRON ). 
Es posible que el equipo local no tenga la información
de Registro o archivos DLL de mensajes 
necesarios para mostrar mensajes desde un equipo
remoto. 
La siguiente información es par /USR/SBIN/CRON : Win32
Process Id = 0x580 : Cygwin Process Id = 0x580 : 
(asuncion1) CMD
(/home/asuncion1/transferFiles_propuesta).

"transferFiles_propuesta" is the shell script i want
to run!, it runs fine from the command line.

thanks for your help!

Eric De La Cruz Lugo
Merida, Yucatan, Mexico.



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--- Begin Message ---
Hi!, i just installed cygwin in my PC in order to run
a shell script, this script run just fine form the
command line, now i need to run this script every
minute ("cron" and "crontab" issue).

I have read all the mail list and FAQ and README files
and applied every posible hint and advise, but my
script does not run from cron.

here is my configuration.


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Fri Dec 06 10:41:26 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service
Pack 2

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem 
	c:\Archivos de programa\progress
	c:\Archivos de programa\progress\bin
	c:\temp\bin\usr\local\wbin
	c:\progress\wrk\appreplicacion

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `C:\cygwin\home\asuncion1'
MAKE_MODE = `unix'
PWD = `/home/asuncion1'
USER = `asuncion1'

ALLUSERSPROFILE = `C:\Documents and Settings\All
Users'
APPDATA = `C:\Documents and Settings\asuncion1\Datos
de programa'
COMMONPROGRAMFILES = `C:\Archivos de programa\Archivos
comunes'
COMPUTERNAME = `SRVCORDEMEX'
COMSPEC = `C:\WINNT\system32\cmd.exe'
DLC = `c:\Archivos de programa\Progress'
DLCBIN = `c:\Archivos de programa\Progress\bin'
HOMEDRIVE = `C:'
HOMEPATH = `\'
LOGONSERVER = `\\SRVCORDEMEX'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT =
`.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 0 Stepping
10, GenuineIntel'
PROCESSOR_LEVEL = `15'
PROCESSOR_REVISION = `000a'
PROCFG = `C:\Archivos de
programa\Progress\progress.cfg'
PROGRAMFILES = `C:\Archivos de programa'
PROMPT = `$P$G'
PROMSGS = `C:\Archivos de programa\Progress\promsgs'
PROOIBRK = `C:\Archivos de
programa\Progress\bin\oibrkr32.exe'
PROOIDRV = `C:\Archivos de
programa\Progress\bin\oidrvr32.exe'
PROSTARTUP = `C:\Archivos de
programa\Progress\startup_oib.pf'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\ASUNCI~1\CONFIG~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\ASUNCI~1\CONFIG~1\Temp'
USERDOMAIN = `SRVCORDEMEX'
USERNAME = `asuncion1'
USERPROFILE = `C:\Documents and Settings\asuncion1'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

Use `-r' to scan registry

a:  fd           N/A    N/A                    
c:  hd  NTFS   19085Mb  84% CP CS UN PA FC     
d:  fd           N/A    N/A                    

C:\cygwin      /          system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  user    binmode,cygdrive

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: c:\temp\bin\usr\local\wbin\cat.exe
Warning: C:\cygwin\bin\cat.exe hides
c:\temp\bin\usr\local\wbin\cat.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Found: c:\temp\bin\usr\local\wbin\find.exe
Warning: C:\cygwin\bin\find.exe hides
c:\temp\bin\usr\local\wbin\find.exe
Not Found: gcc
Not Found: gdb
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Found: c:\temp\bin\usr\local\wbin\ls.exe
Warning: C:\cygwin\bin\ls.exe hides
c:\temp\bin\usr\local\wbin\ls.exe
Found: c:\temp\bin\usr\local\wbin\make.exe
Found: C:\cygwin\bin\sh.exe

   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=4.0
img=1.0 sys=4.0
                  "cygform5.dll" v0.0 ts=2001/4/25
0:28
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=4.0
img=1.0 sys=4.0
                  "cygform6.dll" v0.0 ts=2002/1/9 0:03
   19k 2002/02/20 C:\cygwin\bin\cyggdbm.dll - os=4.0
img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/19
21:05
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll -
os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/6
22:34
   20k 2002/10/10 C:\cygwin\bin\cyghistory5.dll -
os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/10/10
12:28
  929k 2002/06/24 C:\cygwin\bin\cygiconv-2.dll -
os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2002/6/24
13:24
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=4.0
img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13
3:28
   28k 2002/09/20 C:\cygwin\bin\cygintl-2.dll - os=4.0
img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2002/9/19
22:13
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=4.0
img=1.0 sys=4.0
                  "cygintl.dll" v0.0 ts=2001/6/20
12:09
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=4.0
img=1.0 sys=4.0
                  "cygmenu5.dll" v0.0 ts=2001/4/25
0:27
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=4.0
img=1.0 sys=4.0
                  "cygmenu6.dll" v0.0 ts=2002/1/9 0:03
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll -
os=4.0 img=1.0 sys=4.0
                  "cygncurses++5.dll" v0.0
ts=2001/4/25 0:29
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll -
os=4.0 img=1.0 sys=4.0
                  "cygncurses++6.dll" v0.0 ts=2002/1/9
0:03
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll -
os=4.0 img=1.0 sys=4.0
                  "cygncurses5.dll" v0.0 ts=2001/4/25
0:17
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll -
os=4.0 img=1.0 sys=4.0
                  "cygncurses6.dll" v0.0 ts=2002/1/9
0:03
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=4.0
img=1.0 sys=4.0
                  "cygpanel5.dll" v0.0 ts=2001/4/25
0:27
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=4.0
img=1.0 sys=4.0
                  "cygpanel6.dll" v0.0 ts=2002/1/9
0:03
   40k 2001/11/21 C:\cygwin\bin\cygpcre.dll - os=4.0
img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2001/11/21
16:15
   39k 2001/11/21 C:\cygwin\bin\cygpcreposix.dll -
os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0
ts=2001/11/21 16:15
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=4.0
img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9
0:45
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll -
os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/6
22:34
  127k 2002/10/10 C:\cygwin\bin\cygreadline5.dll -
os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0
ts=2002/10/10 12:28
   50k 2002/03/12 C:\cygwin\bin\cygz.dll - os=4.0
img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2002/3/11 22:38
  906k 2002/11/07 C:\cygwin\bin\cygwin1.dll - os=4.0
img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2002/11/7
12:57
    Cygwin DLL version info:
        DLL version: 1.3.15
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 63
        Shared data: 3
        DLL identifier: cygwin1
        Mount registry: 2
        Cygnus registry name: Cygnus Solutions
        Cygwin registry name: Cygwin
        Program options name: Program Options
        Cygwin mount registry name: mounts v2
        Cygdrive flags: cygdrive flags
        Cygdrive prefix: cygdrive prefix
        Cygdrive default prefix: 
        Build date: Thu Nov 7 13:57:47 EST 2002
        CVS tag: cygwin-1-3-15-1
        Shared id: cygwin1S3


Cygwin Package Information
Last downloaded files to: C:\temp
Last downloaded files from:
ftp://archive.progeny.com/cygwin

Package             Version             
_update-info-dir    00087-1             
ash                 20020731-1          
base-files          1.0-1               
base-passwd         1.0-1               
bash                2.05b-7             
cron                3.0.1-7             
ctags               5.2-1               
cygrunsrv           0.95-1              
cygutils            1.1.3-1             
cygwin              1.3.15-2            
diff                1.0-1               
diffutils           2.8.1-1             
ed                  0.2-1               
fileutils           4.1-1               
findutils           4.1.7-4             
gawk                3.1.1-5             
gdbm                1.8.0-4             
gettext             0.11.5-1            
grep                2.5-1               
gzip                1.3.3-4             
libiconv2           1.8-2               
libintl             0.10.38-3           
libintl1            0.10.40-1           
libintl2            0.11.5-1            
libncurses5         5.2-1               
libncurses6         5.2-8               
libpopt0            1.6.4-4             
libreadline4        4.1-2               
libreadline5        4.3-2               
login               1.6-1               
mc                  4.5.55-1            
nano                1.1.10-1            
ncurses             5.2-8               
pcre                3.7-1               
readline            4.3-2               
rxvt                2.7.2-14            
sed                 4.0.1-1             
sh-utils            2.0-2               
tar                 1.13.25-1           
tcsh                6.11.00-4           
termcap             20020930-1          
terminfo            5.2-3               
texinfo             4.2-4               
textutils           2.0.21-1            
vim                 6.1-2               
which               1.5-1               
zlib                1.1.4-1             
zsh                 4.0.4-1             

Use -h to see help about each section




as in other cases, mi cron daemon is running ok, i
have checked the group and passwd files, i have
checked to the directories and files permissions,
every thing is ok, this should work!

thanks in advance for your advice and help.

Eric De La Cruz Lugo
Mérida, Yucatán, México.

P.D. by the way sorry for my bad english!


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--- End Message ---
--
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]