public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cron problem
@ 2005-10-07 12:18 Orfeo Da Via
  2005-10-07 14:09 ` Igor Pechtchanski
  0 siblings, 1 reply; 38+ messages in thread
From: Orfeo Da Via @ 2005-10-07 12:18 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: TEXT/PLAIN, Size: 241 bytes --]

Hi,
I have the cron installed, my crontab is in attacged file crontab-l
but nothing is going on.

the attached files is generated by
$ crontab -l > crontab-l.txt
$ cron_diagnose.sh > crontab_dia.txt
$ cygcheck -srv > cygcheck.txt


thanks...

[-- Attachment #2: Type: TEXT/plain, Size: 975 bytes --]

cron_diagnose.sh 1.10


This script did not find any errors in your cron setup.


If you are still unable to get cron to work, then try
shutting down the cron service, uninstalling it,
reinstalling it, and restarting it.

The following commands will do that:
  $ cygrunsrv --stop cron
  $ cygrunsrv --remove cron
  $ cygrunsrv --install cron -p /usr/sbin/cron -a -D
      (You can also add a -u switch)
  $ cygrunsrv --start cron

If the cron service does not start, try deleting the file
/var/run/cron.pid and then repeating the commands above.

Also, examine the log file for cron, /var/log/cron.log, for
information that it might give you about the problem cron is
having.

If none of this fixes the problem, then report your problem
to cygwin@cygwin.com.  Please include a copy of your crontab,
('crontab -l') and the output of 'cygcheck -srv > cygcheck.txt'.

Please include the generated file 'cygcheck.txt' *as an attachment*,
and NOT in the body of the mail message.

[-- Attachment #3: Type: TEXT/plain, Size: 234 bytes --]

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.580 installed on Fri Oct  7 14:09:56 2005)
# (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
10 14 * * * /bin/date >> /usr/tmp/date.out;

[-- Attachment #4: Type: TEXT/plain, Size: 41839 bytes --]


Cygwin Configuration Diagnostics
Current System Time: Fri Oct 07 14:10:53 2005

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 3

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	C:\cygwin\usr\X11R6\bin
	C:\imagemagick
	C:\cygwin\bin
	C:\texmf\miktex\bin
	C:\WINNT\system32
	C:\WINNT
	C:\shared
	C:\WINNT\Microsoft.NET\Framework\v1.1.4322\
	C:\gs\gs8.11\bin
	C:\GnuWin32\bin
	C:\Pico
	C:\Program Files\Support Tools\
	.\
	C:\cygwin\cygdriver\c\texUtils\latex2html\bin
	C:\cygwin\cygdriver\c\Mono\bin
	C:\cygwin\opt\dar

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1000(micekiller) GID: 513(None)
0(root)               544(Administrators)   545(Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1000(micekiller) GID: 513(None)
0(root)               544(Administrators)   545(Users)

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

USER = `micekiller'
PWD = `/home/micekiller/app/Yat'
CYGWIN = `tty'
HOME = `/home/micekiller'
MAKE_MODE = `unix'

HOMEPATH = `\'
MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'
APPDATA = `C:\Documents and Settings\micekiller\Application Data'
HOSTNAME = `sn2307128'
TERM = `cygwin'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 7, GenuineIntel'
WINDIR = `C:\WINNT'
TEXDOCVIEW_txt = `cygstart %s'
CVSROOT = `:pserver:dao@cvs.microline.eu/mnt/dati/home/cvs'
TEXDOCVIEW_dvi = `cygstart %s'
OLDPWD = `/home/micekiller/csroot/WeifenLuo.WinFormsUI'
RULES = `/mnt/c'
USERDOMAIN = `SN2307128'
OS = `Windows_NT'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
TEMP = `/mnt/c/DOCUME~1/MICEKI~1/LOCALS~1/Temp'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
GTK_BASEPATH = `C:\Program Files\Common Files\GTK\2.4'
USERNAME = `micekiller'
TEXDOCVIEW_pdf = `cygstart %s'
PROCESSOR_LEVEL = `15'
SYSTEMDRIVE = `C:'
VISUALBASICPATH = `C:\Program Files\Microsoft Visual Studio\VB98'
TEXDOCVIEW_html = `cygstart %s'
USERPROFILE = `C:\Documents and Settings\micekiller'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
LOGONSERVER = `\\SN2307128'
PROCESSOR_ARCHITECTURE = `x86'
!C: = `C:\cygwin\bin'
SHLVL = `1'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl'
HOMEDRIVE = `C:'
PROMPT = `$P$G'
COMSPEC = `C:\WINNT\system32\cmd.exe'
TMP = `/mnt/c/DOCUME~1/MICEKI~1/LOCALS~1/Temp'
SYSTEMROOT = `C:\WINNT'
VISUAL = `jmacs'
CVS_RSH = `/bin/ssh'
PROCESSOR_REVISION = `0207'
PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig'
TEXDOCVIEW_ps = `cygstart %s'
CVSEDITOR = `me'
INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:'
PROGRAMFILES = `C:\Program Files'
NUMBER_OF_PROCESSORS = `1'
COMPUTERNAME = `SN2307128'
_ = `/usr/bin/cygcheck.exe'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/mnt/c
  (default) = `C:'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/mnt/dati/home/dao
  (default) = `\\mlx\dao'
  flags = 0x00000108
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/mnt/dati/mltech
  (default) = `\\mlx\mltech'
  flags = 0x00000108
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/mnt/dati/NoBackup
  (default) = `\\mlx\NoBackup'
  flags = 0x00000108
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/mnt/flash
  (default) = `C:\flashDisk'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin/bin'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin/lib'
  flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd             N/A    N/A                    
c:  hd  NTFS     20002Mb  60% CP CS UN PA FC     Local Disk
d:  hd             N/A    N/A                    
e:  cd             N/A    N/A                    
h:  net NTFS     73012Mb  72% CP CS    PA        dao
r:  net NTFS     73012Mb  72% CP CS    PA        mltech

C:\cygwin       /                   system  binmode
C:              /mnt/c              system  textmode
\\mlx\dao       /mnt/dati/home/dao  system  textmode,noexec
\\mlx\mltech    /mnt/dati/mltech    system  textmode,noexec
\\mlx\NoBackup  /mnt/dati/NoBackup  system  textmode,noexec
C:\flashDisk    /mnt/flash          system  textmode
C:\cygwin/bin   /usr/bin            system  binmode
C:\cygwin/lib   /usr/lib            system  binmode
.               /cygdrive           system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe

  802k 2003/09/15 C:\cygwin\bin\cygaspell-15.dll - os=4.0 img=1.0 sys=4.0
                  "cygaspell-15.dll" v0.0 ts=2003/9/15 14:32
   56k 2005/07/09 C:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz2-1.dll" v0.0 ts=2005/7/9 7:09
   54k 2002/01/27 C:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
                  "cygbz21.0.dll" v0.0 ts=2002/1/27 2:07
   18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygcharset-1.dll" v0.0 ts=2004/7/6 20:09
  260k 2005/06/25 C:\cygwin\bin\cygclamav-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygclamav-1.dll" v0.0 ts=2005/6/25 9:33
    7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypt-0.dll" v0.0 ts=2003/10/19 9:57
  858k 2005/04/11 C:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.7.dll" v0.0 ts=2005/4/11 20:21
 1042k 2005/07/07 C:\cygwin\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto-0.9.8.dll" v0.0 ts=2005/7/7 11:06
  645k 2003/04/11 C:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto.dll" v0.0 ts=2003/4/11 12:37
  617k 2004/03/22 C:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcurl-2.dll" v0.0 ts=2004/3/22 16:52
   22k 2004/02/10 C:\cygwin\bin\cygcygipc-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygcygipc-2.dll" v0.0 ts=2004/2/10 3:48
  895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.2.dll" v0.0 ts=2004/4/27 17:31
  965k 2005/05/14 C:\cygwin\bin\cygdb-4.3.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb-4.3.dll" v0.0 ts=2005/5/14 14:37
 1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.2.dll" v0.0 ts=2004/4/27 17:35
 1240k 2005/05/14 C:\cygwin\bin\cygdb_cxx-4.3.dll - os=4.0 img=1.0 sys=4.0
                  "cygdb_cxx-4.3.dll" v0.0 ts=2005/5/14 14:41
  107k 2005/08/08 C:\cygwin\bin\cygexif-12.dll - os=4.0 img=1.0 sys=4.0
                  "cygexif-12.dll" v0.0 ts=2005/8/8 13:50
  174k 2004/10/14 C:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexpat-0.dll" v0.0 ts=2004/10/14 10:34
   71k 2005/07/30 C:\cygwin\bin\cygexslt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygexslt-0.dll" v0.0 ts=2005/7/30 11:06
  129k 2004/03/11 C:\cygwin\bin\cygfontconfig-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontconfig-1.dll" v0.0 ts=2004/3/11 1:12
   40k 2005/09/29 C:\cygwin\bin\cygform-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygform-8.dll" v0.0 ts=2005/9/29 4:15
   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 7: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 7:03
   48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
                  "cygform7.dll" v0.0 ts=2003/8/9 11:25
  859k 2005/08/08 C:\cygwin\bin\cygfpx-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfpx-1.dll" v0.0 ts=2005/8/8 23:35
  375k 2005/09/06 C:\cygwin\bin\cygfreetype-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygfreetype-6.dll" v0.0 ts=2005/9/7 0:51
  323k 2005/07/10 C:\cygwin\bin\cyggcrypt-11.dll - os=4.0 img=1.0 sys=4.0
                  "cyggcrypt-11.dll" v0.0 ts=2005/7/10 2:10
  222k 2005/01/13 C:\cygwin\bin\cyggd-2.dll - os=4.0 img=1.0 sys=4.0
                  "cyggd-2.dll" v0.0 ts=2005/1/13 16:56
   28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-3.dll" v0.0 ts=2003/7/20 9:58
   30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm-4.dll" v0.0 ts=2003/8/11 4:12
   19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/20 4:05
   15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 10:00
   15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=2003/8/11 4:13
  195k 2004/09/02 C:\cygwin\bin\cyggdk-1-2-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdk-1-2-0.dll" v0.0 ts=2004/9/2 20:31
  107k 2004/07/06 C:\cygwin\bin\cyggettextlib-0-14-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextlib-0-14-1.dll" v0.0 ts=2004/7/6 19:56
   17k 2004/07/06 C:\cygwin\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextpo-0.dll" v0.0 ts=2004/7/6 19:56
  190k 2004/07/06 C:\cygwin\bin\cyggettextsrc-0-14-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyggettextsrc-0-14-1.dll" v0.0 ts=2004/7/6 19:56
  135k 2005/03/16 C:\cygwin\bin\cygglib-1-2-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygglib-1-2-0.dll" v0.0 ts=2005/3/16 3:16
  556k 2005/07/16 C:\cygwin\bin\cygglib-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygglib-2.0-0.dll" v0.0 ts=2005/7/16 13:32
   12k 2005/03/16 C:\cygwin\bin\cyggmodule-1-2-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmodule-1-2-0.dll" v0.0 ts=2005/3/16 3:18
   10k 2005/07/16 C:\cygwin\bin\cyggmodule-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmodule-2.0-0.dll" v0.0 ts=2005/7/16 13:34
  158k 2004/10/16 C:\cygwin\bin\cyggmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmp-3.dll" v0.0 ts=2004/10/16 9:40
  288k 2004/10/16 C:\cygwin\bin\cyggmpxx-3.dll - os=4.0 img=1.0 sys=4.0
                  "cyggmpxx-3.dll" v0.0 ts=2004/10/16 9:40
  228k 2005/07/16 C:\cygwin\bin\cyggobject-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggobject-2.0-0.dll" v0.0 ts=2005/7/16 13:34
   12k 2005/07/09 C:\cygwin\bin\cyggpg-error-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggpg-error-0.dll" v0.0 ts=2005/7/10 0:34
   10k 2005/03/16 C:\cygwin\bin\cyggthread-1-2-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggthread-1-2-0.dll" v0.0 ts=2005/3/16 3:18
   14k 2005/07/16 C:\cygwin\bin\cyggthread-2.0-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggthread-2.0-0.dll" v0.0 ts=2005/7/16 13:34
 1293k 2004/09/02 C:\cygwin\bin\cyggtk-1-2-0.dll - os=4.0 img=1.0 sys=4.0
                  "cyggtk-1-2-0.dll" v0.0 ts=2004/9/2 20:44
  527k 2004/10/12 C:\cygwin\bin\cygguile-12.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-12.dll" v0.0 ts=2004/10/12 16:28
  640k 2004/10/12 C:\cygwin\bin\cygguile-16.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-16.dll" v0.0 ts=2004/10/12 16:42
   17k 2004/10/12 C:\cygwin\bin\cygguile-ltdl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-ltdl-1.dll" v0.0 ts=2004/10/12 13:22
    5k 2004/10/12 C:\cygwin\bin\cygguile-ltdl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-ltdl-2.dll" v0.0 ts=2004/10/12 13:02
   11k 2004/10/12 C:\cygwin\bin\cygguile-srfi-srfi-1-v-2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-1-v-2-2.dll" v0.0 ts=2004/10/12 16:42
   68k 2004/10/12 C:\cygwin\bin\cygguile-srfi-srfi-13-14-v-1-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-13-14-v-1-1.dll" v0.0 ts=2004/10/12 16:28
    4k 2004/10/12 C:\cygwin\bin\cygguile-srfi-srfi-13-14-v-2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-13-14-v-2-2.dll" v0.0 ts=2004/10/12 16:43
   31k 2004/10/12 C:\cygwin\bin\cygguile-srfi-srfi-4-v-1-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-4-v-1-1.dll" v0.0 ts=2004/10/12 16:28
   22k 2004/10/12 C:\cygwin\bin\cygguile-srfi-srfi-4-v-2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygguile-srfi-srfi-4-v-2-2.dll" v0.0 ts=2004/10/12 16:42
   12k 2004/10/12 C:\cygwin\bin\cygguilereadline-v-12-12.dll - os=4.0 img=1.0 sys=4.0
                  "cygguilereadline-v-12-12.dll" v0.0 ts=2004/10/12 16:28
   11k 2004/10/12 C:\cygwin\bin\cygguilereadline-v-16-16.dll - os=4.0 img=1.0 sys=4.0
                  "cygguilereadline-v-16-16.dll" v0.0 ts=2004/10/12 16:42
   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/7 5:34
   29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2003/8/11 1:16
   24k 2005/07/29 C:\cygwin\bin\cyghistory6.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory6.dll" v0.0 ts=2005/7/29 5:57
  991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2004/7/6 20:10
   40k 2005/08/01 C:\cygwin\bin\cygIIOP-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygIIOP-0.dll" v0.0 ts=2005/8/1 22:28
   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 10:28
   37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2003/8/10 23:50
   54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-3.dll" v0.0 ts=2004/7/6 19:51
   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 19:09
  241k 2004/08/06 C:\cygwin\bin\cygjasper-1-701-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjasper-1-701-1.dll" v0.0 ts=2004/8/6 17:17
   48k 2003/08/10 C:\cygwin\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
                  "cygjbig1.dll" v0.0 ts=2003/8/11 1:58
  132k 2003/08/11 C:\cygwin\bin\cygjpeg-62.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg-62.dll" v0.0 ts=2003/8/11 2:37
  119k 2002/02/09 C:\cygwin\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
                  "cygjpeg6b.dll" v0.0 ts=2002/2/9 6:19
   60k 2004/09/27 C:\cygwin\bin\cygkpathsea-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygkpathsea-3.dll" v0.0 ts=2004/9/27 19:32
   71k 2005/04/04 C:\cygwin\bin\cygkpathsea-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygkpathsea-4.dll" v0.0 ts=2005/4/4 16:14
   41k 2005/08/29 C:\cygwin\bin\cyglber-2-2-7.dll - os=4.0 img=1.0 sys=4.0
                  "cyglber-2-2-7.dll" v0.0 ts=2005/8/14 19:48
   40k 2004/01/02 C:\cygwin\bin\cyglber-2.dll - os=4.0 img=1.0 sys=4.0
                  "cyglber-2.dll" v0.0 ts=2004/1/2 12:11
  156k 2005/08/08 C:\cygwin\bin\cyglcms-1.dll - os=4.0 img=1.0 sys=4.0
                  "cyglcms-1.dll" v0.0 ts=2005/8/8 12:15
  176k 2005/08/29 C:\cygwin\bin\cygldap-2-2-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygldap-2-2-7.dll" v0.0 ts=2005/8/29 13:14
  194k 2004/01/02 C:\cygwin\bin\cygldap-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygldap-2.dll" v0.0 ts=2004/1/2 12:27
  188k 2005/08/29 C:\cygwin\bin\cygldap_r-2-2-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygldap_r-2-2-7.dll" v0.0 ts=2005/8/29 13:14
  202k 2004/01/02 C:\cygwin\bin\cygldap_r-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygldap_r-2.dll" v0.0 ts=2004/1/2 12:27
   26k 2004/09/22 C:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygltdl-3.dll" v0.0 ts=2004/9/22 8:50
   68k 2005/09/07 C:\cygwin\bin\cygmagic-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygmagic-1.dll" v0.0 ts=2005/9/7 12:21
  369k 2004/08/11 C:\cygwin\bin\cygMagick++-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygMagick++-6.dll" v0.0 ts=2004/8/11 8:04
 3214k 2004/08/11 C:\cygwin\bin\cygMagick-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygMagick-6.dll" v0.0 ts=2004/8/11 7:37
   21k 2005/09/29 C:\cygwin\bin\cygmenu-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu-8.dll" v0.0 ts=2005/9/29 4:15
   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 7: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 7:03
   29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
                  "cygmenu7.dll" v0.0 ts=2003/8/9 11:25
   21k 2004/10/22 C:\cygwin\bin\cygminires.dll - os=4.0 img=1.0 sys=4.0
                  "cygminires.dll" v0.0 ts=2004/10/22 22:28
   71k 2004/10/16 C:\cygwin\bin\cygmp-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygmp-3.dll" v0.0 ts=2004/10/16 9:40
   95k 2004/10/16 C:\cygwin\bin\cygmpfr-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygmpfr-0.dll" v0.0 ts=2004/10/16 9:47
  882k 2004/09/13 C:\cygwin\bin\cygnaim_core-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygnaim_core-0.dll" v0.0 ts=2004/9/13 20:04
   67k 2005/09/29 C:\cygwin\bin\cygncurses++-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses++-8.dll" v0.0 ts=2005/9/29 4:16
  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 7: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 7:03
  226k 2005/09/29 C:\cygwin\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses-8.dll" v0.0 ts=2005/9/29 4:02
  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 7: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 7:03
  224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
                  "cygncurses7.dll" v0.0 ts=2003/8/9 11:24
  102k 2002/10/26 C:\cygwin\bin\cygnetpbm10.dll - os=4.0 img=1.0 sys=4.0
                  "cygnetpbm10.dll" v0.0 ts=2002/10/26 18:22
  217k 2005/08/01 C:\cygwin\bin\cygORBit-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygORBit-0.dll" v0.0 ts=2005/8/1 22:29
   28k 2005/08/01 C:\cygwin\bin\cygORBitCosNaming-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygORBitCosNaming-0.dll" v0.0 ts=2005/8/1 22:29
    5k 2005/08/01 C:\cygwin\bin\cygORBitutil-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygORBitutil-0.dll" v0.0 ts=2005/8/1 21:51
   11k 2005/09/29 C:\cygwin\bin\cygpanel-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel-8.dll" v0.0 ts=2005/9/29 4:15
   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 7: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 7:03
   19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
                  "cygpanel7.dll" v0.0 ts=2003/8/9 11:24
  176k 2005/09/06 C:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre-0.dll" v0.0 ts=2005/9/6 22:49
  299k 2005/09/06 C:\cygwin\bin\cygpcrecpp-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcrecpp-0.dll" v0.0 ts=2005/9/6 23:26
    6k 2005/09/06 C:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix-0.dll" v0.0 ts=2005/9/6 23:26
 1248k 2005/08/22 C:\cygwin\bin\cygperl5_8.dll - os=4.0 img=1.0 sys=4.0
                  "cygperl5_8.dll" v0.0 ts=2005/8/22 22:06
  224k 2005/07/11 C:\cygwin\bin\cygpng10.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng10.dll" v0.0 ts=2005/7/12 1:45
  230k 2005/07/11 C:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng12.dll" v0.0 ts=2005/7/12 1:50
  170k 2002/01/21 C:\cygwin\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
                  "cygpng2.dll" v0.0 ts=2002/1/21 2:05
   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 7: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/7 5:34
  148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2003/8/11 1:16
  144k 2005/07/29 C:\cygwin\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline6.dll" v0.0 ts=2005/7/29 5:57
  685k 2005/01/18 C:\cygwin\bin\cygruby18.dll - os=4.0 img=1.0 sys=4.0
                  "cygruby18.dll" v0.0 ts=2005/1/18 22:21
   78k 2004/10/13 C:\cygwin\bin\cygsasl2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygsasl2-2.dll" v0.0 ts=2004/10/14 0:50
  171k 2005/04/11 C:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.7.dll" v0.0 ts=2005/4/11 20:21
  217k 2005/07/07 C:\cygwin\bin\cygssl-0.9.8.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl-0.9.8.dll" v0.0 ts=2005/7/7 11:07
  165k 2003/04/11 C:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl.dll" v0.0 ts=2003/4/11 12:37
  228k 2005/08/15 C:\cygwin\bin\cygt1-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygt1-5.dll" v0.0 ts=2005/8/15 16:44
  247k 2004/12/07 C:\cygwin\bin\cygtidy-0-99-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygtidy-0-99-0.dll" v0.0 ts=2004/12/7 15:34
  304k 2005/07/10 C:\cygwin\bin\cygtiff-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff-5.dll" v0.0 ts=2005/7/11 1:18
  281k 2003/02/24 C:\cygwin\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff3.dll" v0.0 ts=2003/2/24 5:58
  282k 2003/08/11 C:\cygwin\bin\cygtiff4.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiff4.dll" v0.0 ts=2003/8/11 4:32
  281k 2005/07/10 C:\cygwin\bin\cygtiffxx-5.dll - os=4.0 img=1.0 sys=4.0
                  "cygtiffxx-5.dll" v0.0 ts=2005/7/11 1:21
   27k 2004/03/05 C:\cygwin\bin\cygungif-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygungif-4.dll" v0.0 ts=2004/3/5 21:13
  154k 2004/08/11 C:\cygwin\bin\cygWand-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygWand-6.dll" v0.0 ts=2004/8/11 8:04
  653k 2004/09/08 C:\cygwin\bin\cygwinb19.dll - os=4.0 img=1.0 sys=4.0
                  "cygwinb19.dll" v0.0 ts=1998/7/15 19:50
 2689k 2002/11/16 C:\cygwin\bin\cygxerces-c21.dll - os=4.0 img=1.0 sys=4.0
                  "cygxerces-c21.dll" v0.0 ts=2002/11/16 5:07
 2984k 2003/02/07 C:\cygwin\bin\cygxerces-c22.dll - os=4.0 img=1.0 sys=4.0
                  "cygxerces-c22.dll" v0.0 ts=2003/2/7 19:50
 3006k 2003/10/12 C:\cygwin\bin\cygxerces-c23.dll - os=4.0 img=1.0 sys=4.0
                  "cygxerces-c23.dll" v0.0 ts=2003/10/12 4:36
 3416k 2004/02/21 C:\cygwin\bin\cygxerces-c25.dll - os=4.0 img=1.0 sys=4.0
                  "cygxerces-c25.dll" v0.0 ts=2004/2/21 7:49
  408k 2005/08/01 C:\cygwin\bin\cygxml-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxml-1.dll" v0.0 ts=2005/8/1 21:43
 1383k 2005/07/17 C:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygxml2-2.dll" v0.0 ts=2005/7/16 20:33
  200k 2005/07/30 C:\cygwin\bin\cygxslt-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxslt-1.dll" v0.0 ts=2005/7/30 11:05
   65k 2005/08/23 C:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2005/8/23 4:03
 1265k 2005/07/03 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2005/7/3 2:30
    Cygwin DLL version info:
        DLL version: 1.5.18
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 132
        Shared data: 4
        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: Sat Jul 2 20:30:04 EDT 2005
        Shared id: cygwin1S4

  243k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygdps-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdps-1.dll" v0.0 ts=2005/2/23 15:42
   26k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygdpstk-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygdpstk-1.dll" v0.0 ts=2005/2/23 15:42
   28k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygDtPrint-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygDtPrint-1.dll" v0.0 ts=2004/3/31 6:23
   21k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygfontenc-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygfontenc-1.dll" v0.0 ts=2005/2/23 15:45
  282k 2003/10/28 C:\cygwin\usr\X11R6\bin\cygfreetype-9.dll - os=4.0 img=1.0 sys=4.0
                  "cygfreetype-9.dll" v0.0 ts=2003/10/18 8:44
   36k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygFS-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygFS-6.dll" v0.0 ts=2005/2/23 15:34
  358k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygGL-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygGL-1.dll" v0.0 ts=2005/2/23 15:39
  438k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygGLU-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygGLU-1.dll" v0.0 ts=2005/2/23 15:41
  140k 2004/08/06 C:\cygwin\usr\X11R6\bin\cygglut-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygglut-3.dll" v0.0 ts=2004/8/6 16:43
   75k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygICE-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygICE-6.dll" v0.0 ts=2005/2/23 15:28
   77k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygMrm-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygMrm-2.dll" v0.0 ts=2004/3/31 6:23
    9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygoldX-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygoldX-6.dll" v0.0 ts=2005/2/23 15:28
 1413k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygOSMesa-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygOSMesa-4.dll" v0.0 ts=2005/2/23 15:39
   20k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygpsres-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygpsres-1.dll" v0.0 ts=2005/2/23 15:42
   30k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygSM-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygSM-6.dll" v0.0 ts=2005/2/23 15:28
   66k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygUil-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygUil-2.dll" v0.0 ts=2004/3/31 6:23
  877k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygX11-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygX11-6.dll" v0.0 ts=2005/2/23 15:28
  254k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw-6.dll" v0.0 ts=2005/2/23 15:31
  356k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-7.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw-7.dll" v0.0 ts=2005/2/23 15:32
  363k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXaw-8.dll - os=4.0 img=1.0 sys=4.0
                  "cygXaw-8.dll" v0.0 ts=2005/2/23 15:33
    9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXcomposite-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXcomposite-1.dll" v0.0 ts=2005/2/23 15:44
   30k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXcursor-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXcursor-1.dll" v0.0 ts=2005/2/23 15:43
    9k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXdamage-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXdamage-1.dll" v0.0 ts=2005/2/23 15:44
    7k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXevie-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXevie-1.dll" v0.0 ts=2005/2/23 15:43
   49k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXext-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXext-6.dll" v0.0 ts=2005/2/23 15:28
   16k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXfixes-3.dll - os=4.0 img=1.0 sys=4.0
                  "cygXfixes-3.dll" v0.0 ts=2005/2/23 15:43
   56k 2004/03/11 C:\cygwin\usr\X11R6\bin\cygXft-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXft-1.dll" v0.0 ts=2003/11/18 2:42
   63k 2004/03/23 C:\cygwin\usr\X11R6\bin\cygXft-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygXft-2.dll" v0.0 ts=2004/3/23 23:20
   27k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXi-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXi-6.dll" v0.0 ts=2005/2/23 15:34
  125k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxkbfile-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxkbfile-1.dll" v0.0 ts=2005/2/23 15:34
   12k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxkbui-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygxkbui-1.dll" v0.0 ts=2005/2/23 15:34
 1294k 2004/03/31 C:\cygwin\usr\X11R6\bin\cygXm-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygXm-2.dll" v0.0 ts=2004/3/31 6:20
   76k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXmu-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXmu-6.dll" v0.0 ts=2005/2/23 15:30
   11k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXmuu-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXmuu-1.dll" v0.0 ts=2005/2/23 15:30
   26k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXp-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXp-6.dll" v0.0 ts=2005/2/23 15:31
   52k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXpm-4.dll - os=4.0 img=1.0 sys=4.0
                  "cygXpm-4.dll" v0.0 ts=2005/2/23 15:30
   12k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXrandr-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygXrandr-2.dll" v0.0 ts=2005/2/23 15:43
   28k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXrender-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXrender-1.dll" v0.0 ts=2005/2/23 15:42
    8k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXRes-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygXRes-1.dll" v0.0 ts=2005/2/23 15:43
   40k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxrx-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygxrx-6.dll" v0.0 ts=2005/2/23 15:53
   25k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygxrxnest-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygxrxnest-6.dll" v0.0 ts=2005/2/23 15:53
  282k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXt-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXt-6.dll" v0.0 ts=2005/2/23 15:29
   27k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXTrap-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXTrap-6.dll" v0.0 ts=2005/2/23 15:43
   17k 2005/02/23 C:\cygwin\usr\X11R6\bin\cygXtst-6.dll - os=4.0 img=1.0 sys=4.0
                  "cygXtst-6.dll" v0.0 ts=2005/2/23 15:34

Service             : cron
Current State       : Running
Controls Accepted   : Stop
Command             : /usr/sbin/cron.exe -D
stdin path          : /dev/null
stdout path         : /var/log/cron.log
stderr path         : /var/log/cron.log
Process Type        : Own Process
Startup             : Automatic
Account             : LocalSystem


Cygwin Package Information
Last downloaded files to: c:\Downloads
Last downloaded files from: ftp://linux.rz.ruhr-uni-bochum.de/cygwin

Package                 Version
_update-info-dir        00315-1
a2ps                    4.13-1
alternatives            1.3.20a-1
antiword                0.34-2
ash                     20040127-3
aspell                  0.50.3-1
aspell-doc              0.50.3-1
aspell-en               0.51.0-1
astyle                  1.15.3-3
autoconf                2.59-2
autoconf-devel          2.59-2
autoconf-stable         2.13-6
autoconf2.1             2.13-1
autoconf2.5             2.59-2
automake                1.7.9-2
automake-devel          1.9.2-2
automake-stable         1.4p6-3
automake1.4             1.4p6-2
automake1.9             1.9.6-1
base-files              3.6-1
base-passwd             2.2-1
bash                    3.0-11
bc                      1.06-2
binutils                20050610-1
bonobo                  1.0.22-9
bzip2                   1.0.3-1
cabextract              1.1-1
clamav                  0.86.1-1
clear                   1.0-2
control-center          1.4.0.5-1
coreutils               5.3.0-9
cpio                    2.6-5
cron                    3.0.1-19
crypt                   1.1-1
ctags                   5.5-4
curl                    7.11.1-1
cvs                     1.11.17-1
cygipc                  2.03-2
cygrunsrv               1.10-1
cygutils                1.2.9-1
cygwin                  1.5.18-1
cygwin-doc              1.4-2
d                       1.2.0-1
diffstat                1.40-1
diffutils               2.8.7-1
docbook-xml42           4.2-3
docbook-xsl             1.69.1-1
ed                      0.2-1
editrights              1.01-1
email                   2.3.4-1
enscript                1.6.3-3
exif                    0.6.9-2
expat                   1.95.8-1
fetchmail               6.2.5-2
file                    4.15-3
fileutils               4.1-3
findutils               4.2.25-2
fontconfig              2.2.2-1
freeglut                2.2.0-1
freetype2               2.1.9-1
gal                     0.23-1
gawk                    3.1.5-1
gcc                     3.4.4-1
gcc-ada                 3.4.4-1
gcc-core                3.4.4-1
gcc-g++                 3.4.4-1
gcc-g77                 3.4.4-1
gcc-gpc                 3.3.3-3
gcc-java                3.4.4-1
gcc-mingw               20040810-1
gcc-mingw-ada           20050522-1
gcc-mingw-core          20050522-1
gcc-mingw-g++           20050522-1
gcc-mingw-g77           20050522-1
gcc-mingw-gpc           20040810-1
gcc-mingw-java          20050522-1
gcc-mingw-objc          20050522-1
gcc-objc                3.4.4-1
GConf                   1.0.9-9
gdb                     20041228-3
gdbm                    1.8.3-7
gdk-pixbuf              0.22.0-9
gettext                 0.14.1-1
gettext-devel           0.14.1-1
ghostscript             8.15-2
ghostscript-base        8.15-2
ghostscript-x11         8.15-2
glib                    1.2.10-3
glib-devel              1.2.10-3
glib2                   2.6.5-1
glib2-doc               2.6.5-1
glib2-runtime           2.6.5-1
gmp                     4.1.4-2
gnome-libs              1.4.2-10
gnome-mime-data         2.4.2-1
gnome-print             0.37-9
gnome-vfs               1.0.5-9
grep                    2.5.1a-2
groff                   1.18.1-2
gtk+                    1.2.10-2
guile-doc               1.6.7-1
gzip                    1.3.5-1
hexedit                 1.2.10-1
ImageMagick             6.0.4-1
indent                  2.2.9-1
jasper                  1.701.0-1
jbigkit                 1.5-3
jgraph                  8.3-1
joe                     3.3-2
jpeg                    6b-11
lcms                    1.14-1
less                    381-1
lesstif                 0.93.94-2
libaspell15             0.50.3-1
libbz2_0                1.0.2-1
libbz2_1                1.0.3-1
libcharset1             1.9.2-1
libdb4.2                4.2.52-1
libdb4.3                4.3.28-1
libexif                 0.6.12-1
libfontconfig-devel     2.2.2-1
libfontconfig1          2.2.2-1
libfpx                  1.2.0.12-1
libfreetype2-devel      2.1.9-1
libfreetype26           2.1.9-1
libgcrypt               1.2.1-1
libgd2                  2.0.33-1
libgdbm                 1.8.0-5
libgdbm-devel           1.8.3-7
libgdbm3                1.8.3-3
libgdbm4                1.8.3-7
libgettextpo0           0.14.1-1
libghttp                1.0.9-9
libglade                0.17-9
libgpg-error            1.1-1
libiconv                1.9.2-1
libiconv2               1.9.2-1
libintl                 0.10.38-3
libintl1                0.10.40-1
libintl2                0.12.1-3
libintl3                0.14.1-1
libjpeg62               6b-11
libjpeg6b               6b-8
libMagick6              6.0.4-1
libncurses5             5.2-1
libncurses6             5.2-8
libncurses7             5.3-4
libncurses8             5.4-4
libopenldap2            2.1.25-1
libopenldap2_2_7        2.2.26-2
libpcre                 4.1-2
libpcre0                6.3-1
libpng                  1.2.8-2
libpng10                1.0.18-2
libpng10-devel          1.0.18-2
libpng12                1.2.8-2
libpng12-devel          1.2.8-2
libpng2                 1.0.12-1
libpopt0                1.6.4-4
libreadline4            4.1-2
libreadline5            4.3-5
libreadline6            5.0-4
libsasl2                2.1.19-3
libtiff-devel           3.7.3-1
libtiff3                3.6.0-2
libtiff4                3.6.0-5
libtiff5                3.7.3-1
libungif                4.1.0-3
libxerces-c21           2.1.0-1
libxerces-c22           2.2.0-1
libxerces-c23           2.3.0-4
libxerces-c25           2.5.0-1
libXft                  2.1.6-1
libXft-devel            2.1.6-1
libXft1                 1.0.0-1
libXft2                 2.1.6-1
libxml                  1.8.17-2
libxml2                 2.6.20-3
libxslt                 1.1.14-2
lilypond-doc            2.6.0-1
links                   0.99pre14-1
login                   1.9-7
lynx                    2.8.5-2
m4                      1.4.3-1
make                    3.80-1
man                     1.5p-1
mc                      4.6.1-2
mingw-runtime           3.8-1
minires                 1.00-1
mktemp                  1.5-3
mod_auth_mysql          1.11-1
mod_auth_ntsec          1.7-1
mod_dav                 1.0.3-1.3.6-1
mod_php4                4.2.0-2
mod_ssl                 2.8.8-1.3.24-1
more                    2.11o-2
mutt                    1.4.2.1i-1
naim                    0.11.7.2-1
nano                    1.2.2-1
ncurses                 5.4-4
oaf                     0.6.10-9
openssh                 4.2p1-1
openssl                 0.9.8-2
openssl096              0.9.6j-1
openssl097              0.9.7g-1
ORBit                   0.5.17-2
pango-doc               1.8.1-1
patch                   2.5.8-8
patchutils              0.2.30-1
pcre                    6.3-1
pcre-devel              6.3-1
pcre-doc                6.3-1
perl                    5.8.7-4
perl-libwin32           0.26-1
perl_manpages           5.8.7-4
pine                    4.58-1
pinfo                   0.6.8-1
ping                    1.0-1
postgresql              7.4.5-1
procmail                3.22-10
psutils                 1.17-1
python                  2.4.1-1
readline                5.0-4
rebase                  2.4.2-1
rpm                     4.1-2
ruby                    1.8.2-2
sed                     4.1.4-1
sh-utils                2.0.15-5
sharutils               4.5.3-1
shutdown                1.7-1
squid                   2.4.STABLE7-1
ssmtp                   2.60.9-3
stow                    1.3.3-1
sylpheed-claws          0.9.6-1
t1lib                   5.1.0-1
tar                     1.15.1-2
tcltk                   20030901-1
tcsh                    6.14.00-5
termcap                 20050421-1
terminfo                5.4_20041009-1
tetex-doc               3.0.0-3
texinfo                 4.8-1
textutils               2.0.21-2
tidy                    041206-1
tiff                    3.7.3-1
time                    1.7-1
unison                  2.10.2-4
unison2.9.20            2.9.20-3
units                   1.77-1
unzip                   5.50-5
uw-imap                 2002e-3
uw-imap-util            2002e-3
vim                     6.3-1
w32api                  3.3-1
wget                    1.10.1-1
which                   1.7-1
whois                   4.7.8-1
WordNet                 2.0-1
wtf                     0.0.4-6
X-startup-scripts       1.0.10-4
xerces-c                2.5.0-1
xerces-c-doc            2.5.0-1
XFree86-base            4.3.0-11
XFree86-bin             4.3.0-21
XFree86-etc             4.3.0-12
XFree86-fenc            4.3.0-2
XFree86-fnts            4.3.0-2
XFree86-lib             4.3.0-3
XFree86-prog            4.3.0-21
XFree86-startup-scripts 4.3.0-1
XFree86-xserv           4.3.0-68
xmlto                   0.0.18-1
xorg-x11-base           6.8.2.0-1
xorg-x11-bin            6.8.2.0-1
xorg-x11-bin-dlls       6.8.2.0-1
xorg-x11-bin-lndir      6.8.2.0-1
xorg-x11-devel          6.8.2.0-2
xorg-x11-etc            6.8.2.0-1
xorg-x11-fenc           6.8.1.0-2
xorg-x11-fnts           6.8.1.0-3
xorg-x11-libs-data      6.8.2.0-1
xorg-x11-xwin           6.8.2.0-4
xterm                   202-1
zip                     2.3-6
zlib                    1.2.3-1
Use -h to see help about each section

[-- Attachment #5: Type: text/plain, Size: 218 bytes --]

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-07 12:18 Cron problem Orfeo Da Via
@ 2005-10-07 14:09 ` Igor Pechtchanski
  2005-10-07 14:46   ` Orfeo Da Via
  0 siblings, 1 reply; 38+ messages in thread
From: Igor Pechtchanski @ 2005-10-07 14:09 UTC (permalink / raw)
  To: Orfeo Da Via; +Cc: cygwin

On Fri, 7 Oct 2005, Orfeo Da Via wrote:

> Hi,
> I have the cron installed, my crontab is in attacged file crontab-l
> but nothing is going on.
>
> the attached files is generated by
> $ crontab -l > crontab-l.txt
> $ cron_diagnose.sh > crontab_dia.txt
> $ cygcheck -srv > cygcheck.txt

I'll quote your crontab inline to better comment on it:

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.580 installed on Fri Oct  7 14:09:56 2005)
# (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
10 14 * * * /bin/date >> /usr/tmp/date.out;

First off, I'm not sure how cron will react to the semicolon at the end.
Secondly, you need to redirect stderr as well as stdout, or deal with cron
trying to mail you the output.

Try

10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1

and see if that works for you (it should).  If not, take a look at
/var/log/cron.log and the Windows Event Log for any relevant messages from
cron.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-07 14:09 ` Igor Pechtchanski
@ 2005-10-07 14:46   ` Orfeo Da Via
  2005-10-07 15:22     ` Igor Pechtchanski
  0 siblings, 1 reply; 38+ messages in thread
From: Orfeo Da Via @ 2005-10-07 14:46 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: TEXT/PLAIN, Size: 1587 bytes --]


Hi Igor,
thanks for your quicky reply!

I tryed in this way

$ crontab -l
 10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1

but doesn't work!!


In attch. files is generated from:

$ cat /var/log/cron.log > cron.log.txt
$ ps -elf > ps-elf.txt

I've also changed the permission of my cron.pid

$ chown a+x /var/run/cron.pid
$ ls -l /var/run/cron.pid


In event.log the Windows Event Log output.. IMHO is generated from

$ crontab -l

Thanks
	Orfeo

> I'll quote your crontab inline to better comment on it:
>
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/crontab.580 installed on Fri Oct  7 14:09:56 2005)
> # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
> 10 14 * * * /bin/date >> /usr/tmp/date.out;
>
> First off, I'm not sure how cron will react to the semicolon at the end.
> Secondly, you need to redirect stderr as well as stdout, or deal with cron
> trying to mail you the output.
>
> Try
>
> 10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1
>
> and see if that works for you (it should).  If not, take a look at
> /var/log/cron.log and the Windows Event Log for any relevant messages from
> cron.
> HTH,
> 	Igor
> --
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> If there's any real truth it's that the entire multidimensional infinity
> of the Universe is almost certainly being run by a bunch of maniacs. /DA
>

[-- Attachment #2: Type: TEXT/plain, Size: 40 bytes --]

[1712] cron started
[1428] cron started

[-- Attachment #3: Type: TEXT/plain, Size: 268 bytes --]

     UID     PID    PPID TTY     STIME COMMAND
micekill     296       1   0  08:27:49 /usr/bin/bash
micekill     576       1   ?  16:16:50 /usr/bin/cygrunsrv
micekill    1428     576   ?  16:16:51 /usr/sbin/cron
micekill    1828     296   0  16:31:42 /usr/bin/ps

[-- Attachment #4: Type: TEXT/plain, Size: 310 bytes --]

The description for Event ID ( 0 ) in Source ( crontab ) cannot be
found. The local computer may not have the necessary registry information
or message DLL files to display messages from a remote computer. The
following information is part of the event: crontab : PID 1628 :
(micekiller) LIST (micekiller).

[-- Attachment #5: Type: APPLICATION/octet-stream, Size: 63 bytes --]

-rw-rw-rw-  1 micekiller None 5 Oct  7 16:16 /var/run/cron.pid

[-- Attachment #6: Type: text/plain, Size: 218 bytes --]

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-07 14:46   ` Orfeo Da Via
@ 2005-10-07 15:22     ` Igor Pechtchanski
  2005-10-07 16:48       ` Orfeo Da Via
  0 siblings, 1 reply; 38+ messages in thread
From: Igor Pechtchanski @ 2005-10-07 15:22 UTC (permalink / raw)
  To: Orfeo Da Via; +Cc: cygwin

Ugh, top-posting.  Reformatted...

On Fri, 7 Oct 2005, Orfeo Da Via wrote:

> Earlier I wrote:
> > I'll quote your crontab inline to better comment on it:
> >
> > # DO NOT EDIT THIS FILE - edit the master and reinstall.
> > # (/tmp/crontab.580 installed on Fri Oct  7 14:09:56 2005)
> > # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
> > 10 14 * * * /bin/date >> /usr/tmp/date.out;
> >
> > First off, I'm not sure how cron will react to the semicolon at the end.
> > Secondly, you need to redirect stderr as well as stdout, or deal with cron
> > trying to mail you the output.
> >
> > Try
> >
> > 10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1
> >
> > and see if that works for you (it should).  If not, take a look at
> > /var/log/cron.log and the Windows Event Log for any relevant messages from
> > cron.
>
> Hi Igor,
> thanks for your quicky reply!
>
> I tryed in this way
>
> $ crontab -l
>  10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1
>
> but doesn't work!!

What is your indication that it doesn't work?  Do you have anything in
/usr/tmp/date.out?  What are the permissions on that file?

> In attch. files is generated from:
>
> $ cat /var/log/cron.log > cron.log.txt

What are the permissions on /var/log/cron.log?

> $ ps -elf > ps-elf.txt

This shows that cygrunsrv is running as user "micekiller".  It should be
running as SYSTEM.  What exact command did you use to install your cron
service?

> I've also changed the permission of my cron.pid
>
> $ chown a+x /var/run/cron.pid

Did you mean "chmod a+rw"?  The command below seems to indicate that...

> $ ls -l /var/run/cron.pid
>
> In event.log the Windows Event Log output.. IMHO is generated from
>
> $ crontab -l
>
> Thanks
> 	Orfeo

Your eventlog.txt shows only one event:

crontab : PID 1628 : (micekiller) LIST (micekiller).

This is indeed from "crontab -l".  Are you sure there are no more
cron-generated events there?
	Igor

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-07 15:22     ` Igor Pechtchanski
@ 2005-10-07 16:48       ` Orfeo Da Via
  2005-10-07 17:23         ` René Berber
  2005-10-07 17:24         ` Igor Pechtchanski
  0 siblings, 2 replies; 38+ messages in thread
From: Orfeo Da Via @ 2005-10-07 16:48 UTC (permalink / raw)
  To: cygwin


OK I start from the begin:


$ whoami
  micekiller
$ cd /etc/
$ mkpasswd.exe -l -g > passwd
$ cat passwd

  SYSTEM:*:18:544:,S-1-5-18::
  Administrators:*:544:544:,S-1-5-32-544::
  Backup Operators:*:551:551:,S-1-5-32-551::
  Guests:*:546:546:,S-1-5-32-546::
  Power Users:*:547:547:,S-1-5-32-547::
  Replicator:*:552:552:,S-1-5-32-552::
  Users:*:545:545:,S-1-5-32-545::
  Debugger Users:*:1002:1002:,S-1-5-21-1123561945-682003330-839522115-1002::

Administrator:unused_by_nt/2000/xp:500:513:U-SN2307128\Administrator,S-1-5-21-1123561945-682003330-839522115-500:/home/Administrator:/bin/bash
  ASPNET:unused_by_nt/2000/xp:1001:513:ASP.NET Machine
Account,U-SN2307128\ASPNET,S-1-5-21-1123561945-682003330-839522115-1001:/home/ASPNET:/bin/bash

Guest:unused_by_nt/2000/xp:501:513:U-SN2307128\Guest,S-1-5-21-1123561945-682003330-839522115-501:/home/Guest:/bin/bash

micekiller:unused_by_nt/2000/xp:1000:513:micekiller,U-SN2307128\micekiller,S-1-5-21-1123561945-682003330-839522115-1000:/home/micekiller:/bin/bash

now I change my uid to 18

$ cat passwd
..
micekiller:unused_by_nt/2000/xp:18:18:micekiller,U-SN2307128\micekiller,S-1-5-21-1123561945-682003330-839522115-1000:/home/micekiller:/bin/bash
...

restart cygwin, then

$ whoami
  SYSTEM

$ cygrunsrv.exe -I cron -p /usr/sbin/cron.exe -a -D -d "damn cron" -e "CYGWIN=ntsec"

$ cygrunsrv.exe -S cron
$ cygrunsrv.exe -Q cron
  Service             : cron
  Display name        : cygwin cron
  Current State       : Running
  Controls Accepted   : Stop
  Command             : /usr/sbin/cron.exe -D

$ crontab -l
  # DO NOT EDIT THIS FILE - edit the master and reinstall.
  # (/tmp/crontab.1200 installed on Fri Oct  7 18:26:04 2005)
  # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
  * 18 * * * /bin/date >> /usr/tmp/date.out 2>&1

the /usr/tmp permission is

$ ls -l /usr/
  total 648
  drwxrwxrwx+  2 Administrators SYSTEM      0 Oct  7 14:22 tmp
  ...

finally the cron.pid permission is

$ ls -l /var/run/
  total 6
  -rwxrwxrwx  1 SYSTEM         root     5 Oct  7 18:23 cron.pid
  -rwxrwxrwx  1 Administrators SYSTEM 616 Oct  7 18:20 utmp
  -rw-r--r--  1 SYSTEM         SYSTEM  24 Oct  7 18:09 ~x

I wait wait wait, but the /usr/tmp directory is always empty ...

$ ls -l /usr/tmp/
  total 0


In my Application Log there are only message about LST, RELOAD, EDIT
etc...

I'm desperate :-)

Thanks
	O.



On Fri, 7 Oct 2005, Igor Pechtchanski wrote:

> Ugh, top-posting.  Reformatted...
>
> On Fri, 7 Oct 2005, Orfeo Da Via wrote:
>
> > Earlier I wrote:
> > > I'll quote your crontab inline to better comment on it:
> > >
> > > # DO NOT EDIT THIS FILE - edit the master and reinstall.
> > > # (/tmp/crontab.580 installed on Fri Oct  7 14:09:56 2005)
> > > # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
> > > 10 14 * * * /bin/date >> /usr/tmp/date.out;
> > >
> > > First off, I'm not sure how cron will react to the semicolon at the end.
> > > Secondly, you need to redirect stderr as well as stdout, or deal with cron
> > > trying to mail you the output.
> > >
> > > Try
> > >
> > > 10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1
> > >
> > > and see if that works for you (it should).  If not, take a look at
> > > /var/log/cron.log and the Windows Event Log for any relevant messages from
> > > cron.
> >
> > Hi Igor,
> > thanks for your quicky reply!
> >
> > I tryed in this way
> >
> > $ crontab -l
> >  10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1
> >
> > but doesn't work!!
>
> What is your indication that it doesn't work?  Do you have anything in
> /usr/tmp/date.out?  What are the permissions on that file?
>
> > In attch. files is generated from:
> >
> > $ cat /var/log/cron.log > cron.log.txt
>
> What are the permissions on /var/log/cron.log?
>
> > $ ps -elf > ps-elf.txt
>
> This shows that cygrunsrv is running as user "micekiller".  It should be
> running as SYSTEM.  What exact command did you use to install your cron
> service?
>
> > I've also changed the permission of my cron.pid
> >
> > $ chown a+x /var/run/cron.pid
>
> Did you mean "chmod a+rw"?  The command below seems to indicate that...
>
> > $ ls -l /var/run/cron.pid
> >
> > In event.log the Windows Event Log output.. IMHO is generated from
> >
> > $ crontab -l
> >
> > Thanks
> > 	Orfeo
>
> Your eventlog.txt shows only one event:
>
> crontab : PID 1628 : (micekiller) LIST (micekiller).
>
> This is indeed from "crontab -l".  Are you sure there are no more
> cron-generated events there?
> 	Igor
>
> --
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> If there's any real truth it's that the entire multidimensional infinity
> of the Universe is almost certainly being run by a bunch of maniacs. /DA
>

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-07 16:48       ` Orfeo Da Via
@ 2005-10-07 17:23         ` René Berber
  2005-10-07 17:24         ` Igor Pechtchanski
  1 sibling, 0 replies; 38+ messages in thread
From: René Berber @ 2005-10-07 17:23 UTC (permalink / raw)
  To: cygwin

Orfeo Da Via wrote:
[snip]
> $ crontab -l
>   # DO NOT EDIT THIS FILE - edit the master and reinstall.
>   # (/tmp/crontab.1200 installed on Fri Oct  7 18:26:04 2005)
>   # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
>   * 18 * * * /bin/date >> /usr/tmp/date.out 2>&1

man 5 crontab :

       The time and date fields are:

              field          allowed values
              -----          --------------
              minute         0-59
              hour           0-23
              day of month   0-31
              month          0-12 (or names, see below)
              day of week    0-7 (0 or 7 is Sun, or use names)

[snip]
> 
> I wait wait wait, but the /usr/tmp directory is always empty ...

Your crontab job will run every minute starting at 18:00.

Keep waiting ;-) read a book... read the manual.
-- 
R.Berber


--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-07 16:48       ` Orfeo Da Via
  2005-10-07 17:23         ` René Berber
@ 2005-10-07 17:24         ` Igor Pechtchanski
  2005-10-08  9:10           ` Orfeo Da Via
  1 sibling, 1 reply; 38+ messages in thread
From: Igor Pechtchanski @ 2005-10-07 17:24 UTC (permalink / raw)
  To: Orfeo Da Via; +Cc: cygwin

Ugh, top-posting.  Reformatted again...

On Fri, 7 Oct 2005, Orfeo Da Via wrote:

> On Fri, 7 Oct 2005, Igor Pechtchanski wrote:
>
> > Ugh, top-posting.  Reformatted...
> >
> > On Fri, 7 Oct 2005, Orfeo Da Via wrote:
> >
> > > Earlier I wrote:
> > > > I'll quote your crontab inline to better comment on it:
> > > >
> > > > # DO NOT EDIT THIS FILE - edit the master and reinstall.
> > > > # (/tmp/crontab.580 installed on Fri Oct  7 14:09:56 2005)
> > > > # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
> > > > 10 14 * * * /bin/date >> /usr/tmp/date.out;
> > > >
> > > > First off, I'm not sure how cron will react to the semicolon at the end.
> > > > Secondly, you need to redirect stderr as well as stdout, or deal with cron
> > > > trying to mail you the output.
> > > >
> > > > Try
> > > >
> > > > 10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1
> > > >
> > > > and see if that works for you (it should).  If not, take a look at
> > > > /var/log/cron.log and the Windows Event Log for any relevant messages from
> > > > cron.
> > >
> > > Hi Igor,
> > > thanks for your quicky reply!
> > >
> > > I tryed in this way
> > >
> > > $ crontab -l
> > >  10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1
> > >
> > > but doesn't work!!
> >
> > What is your indication that it doesn't work?  Do you have anything in
> > /usr/tmp/date.out?  What are the permissions on that file?
> >
> > > In attch. files is generated from:
> > >
> > > $ cat /var/log/cron.log > cron.log.txt
> >
> > What are the permissions on /var/log/cron.log?
> >
> > > $ ps -elf > ps-elf.txt
> >
> > This shows that cygrunsrv is running as user "micekiller".  It should be
> > running as SYSTEM.  What exact command did you use to install your cron
> > service?
> >
> > > I've also changed the permission of my cron.pid
> > >
> > > $ chown a+x /var/run/cron.pid
> >
> > Did you mean "chmod a+rw"?  The command below seems to indicate that...
> >
> > > $ ls -l /var/run/cron.pid
> > >
> > > In event.log the Windows Event Log output.. IMHO is generated from
> > >
> > > $ crontab -l
> > >
> > > Thanks
> > > 	Orfeo
> >
> > Your eventlog.txt shows only one event:
> >
> > crontab : PID 1628 : (micekiller) LIST (micekiller).
> >
> > This is indeed from "crontab -l".  Are you sure there are no more
> > cron-generated events there?
> > 	Igor
>
> OK I start from the begin:
>
> $ whoami
>   micekiller
> $ cd /etc/
> $ mkpasswd.exe -l -g > passwd
> $ cat passwd
>
>   SYSTEM:*:18:544:,S-1-5-18::
>   Administrators:*:544:544:,S-1-5-32-544::
>   Backup Operators:*:551:551:,S-1-5-32-551::
>   Guests:*:546:546:,S-1-5-32-546::
>   Power Users:*:547:547:,S-1-5-32-547::
>   Replicator:*:552:552:,S-1-5-32-552::
>   Users:*:545:545:,S-1-5-32-545::
>   Debugger Users:*:1002:1002:,S-1-5-21-1123561945-682003330-839522115-1002::
>   Administrator:unused_by_nt/2000/xp:500:513:U-SN2307128\Administrator,S-1-5-21-1123561945-682003330-839522115-500:/home/Administrator:/bin/bash
>   ASPNET:unused_by_nt/2000/xp:1001:513:ASP.NET Machine Account,U-SN2307128\ASPNET,S-1-5-21-1123561945-682003330-839522115-1001:/home/ASPNET:/bin/bash
>   Guest:unused_by_nt/2000/xp:501:513:U-SN2307128\Guest,S-1-5-21-1123561945-682003330-839522115-501:/home/Guest:/bin/bash
>   micekiller:unused_by_nt/2000/xp:1000:513:micekiller,U-SN2307128\micekiller,S-1-5-21-1123561945-682003330-839522115-1000:/home/micekiller:/bin/bash

Ok so far, as long as you have no domain users...

> now I change my uid to 18

Ouch, not a good idea.

> $ cat passwd
> ..
> micekiller:unused_by_nt/2000/xp:18:18:micekiller,U-SN2307128\micekiller,S-1-5-21-1123561945-682003330-839522115-1000:/home/micekiller:/bin/bash
> ...
>
> restart cygwin, then
>
> $ whoami
>   SYSTEM

Nope.  You aren't really "SYSTEM", your SID (that string starting with S-)
is still that for U-SN2307128\micekiller.  Cygwin thinks your name is
SYSTEM, but it isn't.

Besides, you don't need to do that.  cygrunsrv will install services as
SYSTEM by default, regardless of the current user.

> $ cygrunsrv.exe -I cron -p /usr/sbin/cron.exe -a -D -d "damn cron" -e "CYGWIN=ntsec"
>
> $ cygrunsrv.exe -S cron
> $ cygrunsrv.exe -Q cron
>   Service             : cron
>   Display name        : cygwin cron
>   Current State       : Running
>   Controls Accepted   : Stop
>   Command             : /usr/sbin/cron.exe -D
>
> $ crontab -l
>   # DO NOT EDIT THIS FILE - edit the master and reinstall.
>   # (/tmp/crontab.1200 installed on Fri Oct  7 18:26:04 2005)
>   # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
>   * 18 * * * /bin/date >> /usr/tmp/date.out 2>&1
>
> the /usr/tmp permission is
>
> $ ls -l /usr/
>   total 648
>   drwxrwxrwx+  2 Administrators SYSTEM      0 Oct  7 14:22 tmp
>   ...
>
> finally the cron.pid permission is
>
> $ ls -l /var/run/
>   total 6
>   -rwxrwxrwx  1 SYSTEM         root     5 Oct  7 18:23 cron.pid
>   -rwxrwxrwx  1 Administrators SYSTEM 616 Oct  7 18:20 utmp
>   -rw-r--r--  1 SYSTEM         SYSTEM  24 Oct  7 18:09 ~x
>
> I wait wait wait, but the /usr/tmp directory is always empty ...
>
> $ ls -l /usr/tmp/
>   total 0
>
> In my Application Log there are only message about LST, RELOAD, EDIT
> etc...
>
> I'm desperate :-)

Try doing this without changing your UID to 18.  In fact, is there a
reason why you didn't use cron-config in the first place?  Why not try
removing all traces of the cron service, including the log and pid files,
and using cron-config to install cron?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-07 17:24         ` Igor Pechtchanski
@ 2005-10-08  9:10           ` Orfeo Da Via
  2005-10-08  9:26             ` Brian Dessent
  2005-10-08 20:33             ` Igor Pechtchanski
  0 siblings, 2 replies; 38+ messages in thread
From: Orfeo Da Via @ 2005-10-08  9:10 UTC (permalink / raw)
  To: cygwin


Hi, Igor

> Try doing this without changing your UID to 18.  In fact, is there a
> reason why you didn't use cron-config in the first place?  Why not try
> removing all traces of the cron service, including the log and pid files,
> and using cron-config to install cron?

well, I removed all my cron intallation:

$ cygrunsrv --stop cron
$ cygrunsrv --remove cron
$ rm -f /var/run/cron.pid
$ rm -f /var/log/cron*

$ cygrunsrv -L
 (empty row)

then I restarted cygwin and:

$ /usr/bin/cron-config

...as service? yes
...yourself?   no
...ntsec?      yes
...start ..service? yes

now:

$ cygrunsrv -L
  cron

$ cygrunsrv -Q cron
 Service             : cron
 Display name        : Cron daemon
 Current State       : Running
 Controls Accepted   : Stop
 Command             : /usr/sbin/cron -D

$ crontab -l
 # DO NOT EDIT THIS FILE - edit the master and reinstall.
 # (/tmp/crontab.300 installed on Sat Oct  8 10:23:16 2005)
 # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp  $)
 * 10 * * * /bin/date >> /home/micekiller/tmp/date.out 2&1

$ ls -l /home/micekiller/ | grep tmp
 drwxr-xr-x+  2 micekiller     None     0 Oct  8 11:03 tmp

$ ls -l /home/micekiller/tmp
 total 0

grrrr ...does't work!


$ ll /var/log/cron.log
 -rw-r--r--  1 SYSTEM root 39 Oct  8 10:31 /var/log/cron.log

$ cat /var/log/cron.log
  [836] cron started
  [1032] cron started


where I'm wrong?  Thanks O.

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-08  9:10           ` Orfeo Da Via
@ 2005-10-08  9:26             ` Brian Dessent
  2005-10-08 20:33             ` Igor Pechtchanski
  1 sibling, 0 replies; 38+ messages in thread
From: Brian Dessent @ 2005-10-08  9:26 UTC (permalink / raw)
  To: cygwin

Orfeo Da Via wrote:

> $ /usr/bin/cron-config
> 
> ...as service? yes
> ...yourself?   no
> ...ntsec?      yes
> ...start ..service? yes
> 
> now:
> 
> $ cygrunsrv -L
>   cron
> 
> $ cygrunsrv -Q cron
>  Service             : cron
>  Display name        : Cron daemon
>  Current State       : Running
>  Controls Accepted   : Stop
>  Command             : /usr/sbin/cron -D
> 
> $ crontab -l
>  # DO NOT EDIT THIS FILE - edit the master and reinstall.
>  # (/tmp/crontab.300 installed on Sat Oct  8 10:23:16 2005)
>  # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp  $)
>  * 10 * * * /bin/date >> /home/micekiller/tmp/date.out 2&1

I don't see the step where you ran "crontab -e" to actually edit the
crontab.  How are you doing this?  If you are just editing the file with
an editor and not using "crontab -e" then that is the reason it is not
working.  You can't just edit the crontab.  At the least you need to HUP
the daemon.

Brian

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-08  9:10           ` Orfeo Da Via
  2005-10-08  9:26             ` Brian Dessent
@ 2005-10-08 20:33             ` Igor Pechtchanski
  2005-10-10  7:34               ` Orfeo Da Via
  1 sibling, 1 reply; 38+ messages in thread
From: Igor Pechtchanski @ 2005-10-08 20:33 UTC (permalink / raw)
  To: Orfeo Da Via; +Cc: cygwin

[-- Attachment #1: Type: TEXT/PLAIN, Size: 2482 bytes --]

On Sat, 8 Oct 2005, Orfeo Da Via wrote:

> > Try doing this without changing your UID to 18.  In fact, is there a
> > reason why you didn't use cron-config in the first place?  Why not try
> > removing all traces of the cron service, including the log and pid files,
> > and using cron-config to install cron?
>
> well, I removed all my cron intallation:
>
> $ cygrunsrv --stop cron
> $ cygrunsrv --remove cron
> $ rm -f /var/run/cron.pid
> $ rm -f /var/log/cron*
>
> $ cygrunsrv -L
>  (empty row)
>
> then I restarted cygwin and:
>
> $ /usr/bin/cron-config
>
> ...as service? yes
> ...yourself?   no
> ...ntsec?      yes
> ...start ..service? yes
>
> now:
>
> $ cygrunsrv -L
>   cron
>
> $ cygrunsrv -Q cron
>  Service             : cron
>  Display name        : Cron daemon
>  Current State       : Running
>  Controls Accepted   : Stop
>  Command             : /usr/sbin/cron -D

So far so good...

> $ crontab -l
>  # DO NOT EDIT THIS FILE - edit the master and reinstall.
>  # (/tmp/crontab.300 installed on Sat Oct  8 10:23:16 2005)
>  # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp  $)
>  * 10 * * * /bin/date >> /home/micekiller/tmp/date.out 2&1
                                                         ^^^
Whoops.  No good here.  You forgot the '>' -- the last part should be
'2>&1'.

> $ ls -l /home/micekiller/ | grep tmp
>  drwxr-xr-x+  2 micekiller     None     0 Oct  8 11:03 tmp
>
> $ ls -l /home/micekiller/tmp
>  total 0
>
> grrrr ...does't work!

Eh?  How do you figure that?  I wonder, did you see René Berber's reply
(<http://cygwin.com/ml/cygwin/2005-10/msg00147.html>)?

> $ ll /var/log/cron.log
>  -rw-r--r--  1 SYSTEM root 39 Oct  8 10:31 /var/log/cron.log
>
> $ cat /var/log/cron.log
>   [836] cron started
>   [1032] cron started
>
> where I'm wrong?  Thanks O.

We can't tell you where you are wrong until you tell us what you mean by
cron "not working"...  Does the crontab fail to execute correctly (i.e.,
every minute after 10:00?

I think, besides fixing the above typo, reading "man 5 crontab" would be
helpful.

HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

[-- Attachment #2: Type: text/plain, Size: 218 bytes --]

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-08 20:33             ` Igor Pechtchanski
@ 2005-10-10  7:34               ` Orfeo Da Via
  2005-10-10 12:11                 ` Igor Pechtchanski
  0 siblings, 1 reply; 38+ messages in thread
From: Orfeo Da Via @ 2005-10-10  7:34 UTC (permalink / raw)
  To: cygwin


Hi Igor,

> We can't tell you where you are wrong until you tell us what you mean by
> cron "not working"...  Does the crontab fail to execute correctly (i.e.,
> every minute after 10:00?

first I'm sorry for my poor English...
in order to explain you what I mean when I wrote "cron does't work",
I try with the same command in my linux box (debian sid)


$ uname
 Linux

$ export VISUAL=zile

$ crontab -e

 ...edit the file..

$ crontab -l
 * 8 * * * /bin/date >> /home/calox/tmp/date.out 2>&1

$ date
  Mon Oct 10 08:48:36 CEST 2005

$ ls -l  /home/calox/temp
 total 4
 -rw-r--r--  1 calox calox 180 Oct 10 08:54 date.out

$ cat tmp/date.out

 Mon Oct 10 08:49:01 CEST 2005
 Mon Oct 10 08:50:01 CEST 2005
 Mon Oct 10 08:51:01 CEST 2005
 Mon Oct 10 08:52:01 CEST 2005
 Mon Oct 10 08:53:01 CEST 2005
 Mon Oct 10 08:54:01 CEST 2005

for me, in this example, cron "works", i.e. in ~/tmp directory I found
the file date.out. In cygwin, with the same crontab, the ~/tmp dir is
empty.


> I think, besides fixing the above typo, reading "man 5 crontab" would be
> helpful.

Well, I read the man, the README in Paul Vixie source code, and
cron.README but I didn't find where it's teh problem..







> HTH,
> 	Igor
> --
> 				http://cs.nyu.edu/~pechtcha/
>       |\      _,,,---,,_		pechtcha@cs.nyu.edu
> ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
>      |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
>     '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!
>
> If there's any real truth it's that the entire multidimensional infinity
> of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-10  7:34               ` Orfeo Da Via
@ 2005-10-10 12:11                 ` Igor Pechtchanski
  2005-10-10 13:25                   ` Orfeo Da Via
  0 siblings, 1 reply; 38+ messages in thread
From: Igor Pechtchanski @ 2005-10-10 12:11 UTC (permalink / raw)
  To: Orfeo Da Via; +Cc: cygwin

On Mon, 10 Oct 2005, Orfeo Da Via wrote:

> Hi Igor,
>
> > We can't tell you where you are wrong until you tell us what you mean by
> > cron "not working"...  Does the crontab fail to execute correctly (i.e.,
> > every minute after 10:00?
>
> first I'm sorry for my poor English...

No need to apologize.  Besides, it's not *that* poor... :-)

> in order to explain you what I mean when I wrote "cron does't work",
> I try with the same command in my linux box (debian sid)
>
> $ uname
>  Linux
>
> $ export VISUAL=zile
>
> $ crontab -e
>
>  ...edit the file..

Hmm, one detail that's missing: when was the above done?  Before 8:00, or
after?

> $ crontab -l
>  * 8 * * * /bin/date >> /home/calox/tmp/date.out 2>&1
>
> $ date
>   Mon Oct 10 08:48:36 CEST 2005
>
> $ ls -l  /home/calox/temp
>  total 4
>  -rw-r--r--  1 calox calox 180 Oct 10 08:54 date.out
>
> $ cat tmp/date.out
>
>  Mon Oct 10 08:49:01 CEST 2005
>  Mon Oct 10 08:50:01 CEST 2005
>  Mon Oct 10 08:51:01 CEST 2005
>  Mon Oct 10 08:52:01 CEST 2005
>  Mon Oct 10 08:53:01 CEST 2005
>  Mon Oct 10 08:54:01 CEST 2005
>
> for me, in this example, cron "works", i.e. in ~/tmp directory I found
> the file date.out. In cygwin, with the same crontab, the ~/tmp dir is
> empty.

I see.  Again, did you edit the crontab before 8:00, or after?  If after,
did you wait a day?

> > I think, besides fixing the above typo, reading "man 5 crontab" would be
> > helpful.
>
> Well, I read the man, the README in Paul Vixie source code, and
> cron.README but I didn't find where it's teh problem..

It wasn't obvious that you really meant for cron to run your script every
minute starting at 10:00.  Now it's clear that you understand what the
crontab is doing.

Since you're testing cron, I would suggest starting with

*/5 * * * * /bin/date >> /home/calox/tmp/date.out 2>&1

and waiting 5 minutes.  If /home/calox/tmp is still empty, then we'll
debug further.

A few obvious questions: does /home/calox/tmp exist in Cygwin?  What are
its permissions (do an "ls -ld")?  Are you checking /home/calox/tmp or
~/tmp (IOW, is your $HOME set to /home/calox)?  And, finally, do you have
SHELL set in the Windows environment, and if so, to what value?
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-10 12:11                 ` Igor Pechtchanski
@ 2005-10-10 13:25                   ` Orfeo Da Via
  2005-10-10 14:44                     ` Igor Pechtchanski
  0 siblings, 1 reply; 38+ messages in thread
From: Orfeo Da Via @ 2005-10-10 13:25 UTC (permalink / raw)
  To: Igor Pechtchanski; +Cc: cygwin



On Mon, 10 Oct 2005, Igor Pechtchanski wrote:

> > $ uname
> >  Linux
> >
> > $ export VISUAL=zile
> >
> > $ crontab -e
> >
> >  ...edit the file..
>
> Hmm, one detail that's missing: when was the above done?  Before 8:00, or
> after?

About at 8.45, all the commands in the example are sequentially.

> Since you're testing cron, I would suggest starting with
>
> */5 * * * * /bin/date >> /home/calox/tmp/date.out 2>&1
>
> and waiting 5 minutes.  If /home/calox/tmp is still empty, then we'll
> debug further.

In my linux box the my home is /home/calox, in Cygwin my home is
/home/micekiller, then the crontab is

$  crontab -l
 # DO NOT EDIT THIS FILE - edit the master and reinstall.
 # (/tmp/crontab.592 installed on Mon Oct 10 14:51:37 2005)
 # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
 */5 * * * * /bin/date >> /home/micekiller/tmp/date.out 2>&1

so, I waited for 10 min but ~/tmp (/home/micekiller/tmp) is empty.


> A few obvious questions: does /home/calox/tmp exist in Cygwin?  What are
> its permissions (do an "ls -ld")?

$ ls -ld ~/tmp/
 drwxrwxrwx+ 2 micekiller None 0 Oct  8 11:03 /home/micekiller/tmp/

Here the group in None, it's OK? (in Linux is the usergroup)...maybe in
Cygwin isn't possible set the group?



> Are you checking /home/calox/tmp or
> ~/tmp (IOW, is your $HOME set to /home/calox)?

my $HOME is

$ echo $HOME
 /home/micekiller

and I check /home/micekiller/tmp

> And, finally, do you have
> SHELL set in the Windows environment, and if so, to what value?

Mmmm, in  'Control Panel-> System -> Advanced -> Environment variable' the
SHELL variable *not* exists, but in Cygwin

$ echo $SHELL
 /bin/bash

If usefull, my environment var is (in win2000 cmd.exe)

C:\>set

!C:='C:\cygwin\bin'
ALLUSERSPROFILE='C:\Documents and Settings\All Users'
APPDATA='C:\Documents and Settings\micekiller\Application Data'
BASH=/usr/bin/bash BASH_ARGC=() BASH_ARGV=() BASH_LINENO=() BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="00" [2]="16" [3]="11" [4]="release"
[5]="i686-pc-cygwin") BASH_VERSION='3.00.16(11)-release'
COMMONPROGRAMFILES='C:\Program Files\Common Files'
COMPUTERNAME=SN2307128
COMSPEC='C:\WINNT\system32\cmd.exe'
CVSEDITOR=me
CVSROOT=:pserver:dao@cvs.microline.eu/mnt/dati/home/cvs
CVS_RSH=/bin/ssh
CYGWIN=ntsec
DIRSTACK=()
EDITOR=me
EUID=1000
GROUPS=()
GTK_BASEPATH='C:\Program Files\Common Files\GTK\2.4'
HISTFILE=/home/micekiller/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/micekiller
HOMEDRIVE=C:
HOMEPATH='\'
HOSTNAME=sn2307128
HOSTTYPE=i686 IFS=$' \t\n'
INFOPATH=/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:
LOGONSERVER='\\SN2307128' MACHTYPE=i686-pc-cygwin
MAILTO=orfeo.davia@microline-srl.com
MAKE_MODE=unix
MANPATH=/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man
NUMBER_OF_PROCESSORS=1
OPTERR=1
OPTIND=1 OS=Windows_NT OS2LIBPATH='C:\WINNT\system32\os2\dll;'
OSTYPE=cygwin
PATH='/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/mnt/c/imagemagick:/usr/bin:/mnt/c/texmf/miktex/bin:/mnt/c/WINNT/system32:/mnt/c/WINNT:/mnt/c/shared:/mnt/c/WINNT/Microsoft.NET/Framework/v1.1.4322/:/mnt/c/gs/gs8.11/bin:/mnt/c/GnuWin32/bin:/mnt/c/Pico:/mnt/c/Program
Files/Support
Tools/:.:/cygdriver/c/texUtils/latex2html/bin:/cygdriver/c/Mono/bin:/opt/dar'
PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.tcl'
PIPESTATUS=([0]="0") PKG_CONFIG_PATH=/usr/X11R6/lib/pkgconfig PPID=1
PRINTER='\\mlx\Lexmark' PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER='x86 Family 15 Model 2 Stepping 7, GenuineIntel'
PROCESSOR_LEVEL=15 PROCESSOR_REVISION=0207 PROGRAMFILES='C:\Program Files'
PROMPT='$P$G' PS1=$'\\[\\033]0;\\w\\007\n\\033[32m\\]\\u@\\h
\\[\\033[33m\\w\\033[0m\\]\n$ ' PS2='> ' PS4='+ '
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1 SYSTEMDRIVE=C:
SYSTEMROOT='C:\WINNT'
TEMP=/mnt/c/DOCUME~1/MICEKI~1/LOCALS~1/Temp
TERM=cygwin
TEXDOCVIEW_dvi='cygstart %s' TEXDOCVIEW_html='cygstart %s'
TEXDOCVIEW_pdf='cygstart %s' TEXDOCVIEW_ps='cygstart %s'
TEXDOCVIEW_txt='cygstart %s' TMP=/mnt/c/DOCUME~1/MICEKI~1/LOCALS~1/Temp
UID=1000 USER=micekiller USERDOMAIN=SN2307128 USERNAME=micekiller
USERPROFILE='C:\Documents and Settings\micekiller' VISUAL=jmacs
WINDIR='C:\WINNT'

Thanks...





--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2005-10-10 13:25                   ` Orfeo Da Via
@ 2005-10-10 14:44                     ` Igor Pechtchanski
  0 siblings, 0 replies; 38+ messages in thread
From: Igor Pechtchanski @ 2005-10-10 14:44 UTC (permalink / raw)
  To: Orfeo Da Via; +Cc: cygwin

Please make sure your mailer respects the Reply-To: header -- I set it for
a reason.  There's no need to send the message to my mailbox -- I read the
list.

On Mon, 10 Oct 2005, Orfeo Da Via wrote:

> On Mon, 10 Oct 2005, Igor Pechtchanski wrote:
>
> > > $ uname
> > >  Linux
> > >
> > > $ export VISUAL=zile
> > >
> > > $ crontab -e
> > >
> > >  ...edit the file..
> >
> > Hmm, one detail that's missing: when was the above done?  Before 8:00, or
> > after?
>
> About at 8.45, all the commands in the example are sequentially.

Interesting...  I thought the semantics were such that if the start time
is missed, the next day is used.  I'll have to re-read the cron
documentation.

> > Since you're testing cron, I would suggest starting with
> >
> > */5 * * * * /bin/date >> /home/calox/tmp/date.out 2>&1
> >
> > and waiting 5 minutes.  If /home/calox/tmp is still empty, then we'll
> > debug further.
>
> In my linux box the my home is /home/calox, in Cygwin my home is
> /home/micekiller, then the crontab is
>
> $  crontab -l
>  # DO NOT EDIT THIS FILE - edit the master and reinstall.
>  # (/tmp/crontab.592 installed on Mon Oct 10 14:51:37 2005)
>  # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $)
>  */5 * * * * /bin/date >> /home/micekiller/tmp/date.out 2>&1
>
> so, I waited for 10 min but ~/tmp (/home/micekiller/tmp) is empty.

Is your user an administrative user?  Is your home on a network share?
Try changing the above to

*/5 * * * * /bin/date >> /tmp/date.out 2>&1

Does /tmp/date.out get created?

> > A few obvious questions: does /home/calox/tmp exist in Cygwin?  What are
> > its permissions (do an "ls -ld")?
>
> $ ls -ld ~/tmp/
>  drwxrwxrwx+ 2 micekiller None 0 Oct  8 11:03 /home/micekiller/tmp/
>
> Here the group in None, it's OK? (in Linux is the usergroup)...maybe in
> Cygwin isn't possible set the group?

It is possible, but the group shouldn't matter.  Note that '+' at the end
of the permission string means that there are extra ACLs set for that
directory -- some of these may deny the necessary access.

> > Are you checking /home/calox/tmp or
> > ~/tmp (IOW, is your $HOME set to /home/calox)?
>
> my $HOME is
>
> $ echo $HOME
>  /home/micekiller
>
> and I check /home/micekiller/tmp

Ok, just a sanity check.

> > And, finally, do you have SHELL set in the Windows environment, and if
> > so, to what value?
>
> Mmmm, in  'Control Panel-> System -> Advanced -> Environment variable' the
> SHELL variable *not* exists, but in Cygwin
>
> $ echo $SHELL
>  /bin/bash

That's ok -- bash sets SHELL if it's not set in the parent environment.

> If usefull, my environment var is (in win2000 cmd.exe)
>
> C:\>set
> [snip]
> PATH='/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/mnt/c/imagemagick:/usr/bin:/mnt/c/texmf/miktex/bin:/mnt/c/WINNT/system32:/mnt/c/WINNT:/mnt/c/shared:/mnt/c/WINNT/Microsoft.NET/Framework/v1.1.4322/:/mnt/c/gs/gs8.11/bin:/mnt/c/GnuWin32/bin:/mnt/c/Pico:/mnt/c/Program Files/Support Tools/:.:/cygdriver/c/texUtils/latex2html/bin:/cygdriver/c/Mono/bin:/opt/dar'

Aside from the fact that you seem to have run "set" from a bash shell,
whereas your prompt above is from a "cmd" shell, and that you use
"/cygdriver" instead of the standard "/cygdrive", the output looks fine.

FWIW, I just installed "cron" from scratch using /usr/bin/cron-config, put

*/5 * * * * /bin/date >> /tmp/date.out 2>&1

in my crontab, and sure enough, /tmp/date.out got created.  Try that one
first, and if it works, you'll know that there is some issue with your
home directory that prevents cron from writing there.

BTW, what are the permissions on /home and /home/micekiller?  They have
to have at least the execute bits set for /home/micekiller/tmp to be
accessible.
HTH,
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

If there's any real truth it's that the entire multidimensional infinity
of the Universe is almost certainly being run by a bunch of maniacs. /DA

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2006-09-29  7:37 Joost Kraaijeveld
@ 2006-09-29  8:40 ` Joost Kraaijeveld
  0 siblings, 0 replies; 38+ messages in thread
From: Joost Kraaijeveld @ 2006-09-29  8:40 UTC (permalink / raw)
  To: cygwin

To respond to my own problem: a "*" too much in the crontab could
explain a lot .....

So problem solved.


-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Cron problem
@ 2006-09-29  7:37 Joost Kraaijeveld
  2006-09-29  8:40 ` Joost Kraaijeveld
  0 siblings, 1 reply; 38+ messages in thread
From: Joost Kraaijeveld @ 2006-09-29  7:37 UTC (permalink / raw)
  To: cygwin

Hi,

I am trying to run a cron job on a Windows 2000 server. What I want is
to run a bash or sh shell script and mail the output to me on an other
machine.

Cron is running under the administrator account as a service.

For testing purposes I have a script that is in the home directory of
the administrator account and I want to run that every minute, sending
any output in a email to me.

I actually get an email every minute with the contents:

"/bin/sh: Mail: command not found"

I assume that I do not fully understand when to use what kind of paths
in my files (and cygwin is NOT in my system path because of name clashes
with other executables but is situated at d:\cygwin). 

Can anyone point me in the right direction?


crontab.exe -l:

# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.3424 installed on Fri Sep 29 08:38:58 2006)
# (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp
$)
# (Use to post in the top of your crontab)
# ------------- minute (0 - 59)
# | ----------- hour (0 - 23)
# | | --------- day of month (1 - 31)
# | | | ------- month (1 - 12)
# | | | | ----- day of week (0 - 6) (Sunday=0)
# | | | | |
# * * * * * command to be executed
MAILTO=jkr@askesis.nl
* * * * * * /bin/sh /home/Administrator/crontest

The script that should be run: 
path in Cygwin: "/home/Administrator/crontest"
path in Windows: "d:\cygwin\home\Administrator\crontest"


#!/bin/sh

/bin/ls /
/bin/ls / > /home/Administrator/crontest.ls
#end of file




/bin/sh: Mail: command not found



-- 
Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
web: www.askesis.nl

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2002-07-31 13:15       ` Paul Derbyshire
  2002-07-31 14:11         ` Paul Derbyshire
@ 2002-07-31 23:24         ` Max Bowsher
  1 sibling, 0 replies; 38+ messages in thread
From: Max Bowsher @ 2002-07-31 23:24 UTC (permalink / raw)
  To: cygwin

Paul Derbyshire" <derbyshire@globalserve.net> wrote:
> On 30 Jul 2002 at 7:14, Michael A Chase wrote:
>
> > On Tue, 30 Jul 2002 11:01:36 +0200 Corinna Vinschen
<corinna-cygwin@cygwin.com> wrote:
> >
> > > On Mon, Jul 29, 2002 at 11:47:09PM -0400, Chris Faylor wrote:
> > > > On Mon, Jul 29, 2002 at 10:08:58PM -0400, Paul Derbyshire wrote:
> > > > >What with the big directory names debate and the big ctrl-V debate it
> > > > >seems the cron problem thread has slipped through the cracks.
> > > >
> > > > I took a look at this one though.  Held it in my arms and tried to
> > > > apologize.  It whispered to me, "Tell...  Paul...  to...  set...  his
> > > > system PATH via the Control Panel->System and then reboot...  profile
> > > > files... not... read... by...  ugh!"
> > >
> > > Boy, I'm so happy that it could still speak when dying in your
> > > arms.  And this one was some of these really righteous and heroic
> > > threads, still focused to help mankind while looking DEATH straight
> > > in the eyes... *sob*
> >
> > But it didn't finish giving complete, detailed instructions.  So it was all
> > in vain.  It was a noble effort though, it should be honored for the
> > attempt.
>
> Let's see what we have in this thread. About 13 k of mostly drivel,

Sense of humour ?

> along with something that seems to vaguely suggest that cron is using
> the Windows path rather than the cygwin path, so I should put
> Cygwin's bin directory on the Windows path before djgpp's.
>
> Unfortunately, that would fix cron and break djgpp. Got any more
> suggestions?
>
> Meanwhile I'll try setting the PATH inside the crontab...
>
> [copies PATH="/usr/local/bin:/usr/bin:/bin:$PATH" from top line of
> /etc/profile to top line of crontab and times job for ten minutes
> from now]
>
> [starts stomping on this 13k thread -- it should crumple nicely and
> might save bandwidth]



--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2002-07-31 13:15       ` Paul Derbyshire
@ 2002-07-31 14:11         ` Paul Derbyshire
  2002-07-31 23:24         ` Max Bowsher
  1 sibling, 0 replies; 38+ messages in thread
From: Paul Derbyshire @ 2002-07-31 14:11 UTC (permalink / raw)
  To: cygwin

On 31 Jul 2002 at 13:36, Paul Derbyshire wrote:

> [I should put Cygwin's bin directory on the Windows path before
> djgpp's.]
> 
> Unfortunately, that would fix cron and break djgpp. Got any more 
> suggestions?
> 
> Meanwhile I'll try setting the PATH inside the crontab...
> 
> [copies PATH="/usr/local/bin:/usr/bin:/bin:$PATH" from top line of 
> /etc/profile to top line of crontab and times job for ten minutes 
> from now]

Nevermind, that worked perfectly. The cron job ran and did what it 
was designed to do, and sent me the only pleasant email I've gotten 
so far today when it did so. :)

Would that all problems went away that easily.

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2002-07-30  9:27     ` Michael A Chase
  2002-07-30  9:10       ` Michael A Chase
@ 2002-07-31 13:15       ` Paul Derbyshire
  2002-07-31 14:11         ` Paul Derbyshire
  2002-07-31 23:24         ` Max Bowsher
  1 sibling, 2 replies; 38+ messages in thread
From: Paul Derbyshire @ 2002-07-31 13:15 UTC (permalink / raw)
  To: cygwin

On 30 Jul 2002 at 7:14, Michael A Chase wrote:

> On Tue, 30 Jul 2002 11:01:36 +0200 Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:
> 
> > On Mon, Jul 29, 2002 at 11:47:09PM -0400, Chris Faylor wrote:
> > > On Mon, Jul 29, 2002 at 10:08:58PM -0400, Paul Derbyshire wrote:
> > > >What with the big directory names debate and the big ctrl-V debate it 
> > > >seems the cron problem thread has slipped through the cracks.
> > > 
> > > I took a look at this one though.  Held it in my arms and tried to
> > > apologize.  It whispered to me, "Tell...  Paul...  to...  set...  his
> > > system PATH via the Control Panel->System and then reboot...  profile
> > > files... not... read... by...  ugh!"
> > 
> > Boy, I'm so happy that it could still speak when dying in your
> > arms.  And this one was some of these really righteous and heroic
> > threads, still focused to help mankind while looking DEATH straight
> > in the eyes... *sob*
> 
> But it didn't finish giving complete, detailed instructions.  So it was all
> in vain.  It was a noble effort though, it should be honored for the
> attempt.

Let's see what we have in this thread. About 13 k of mostly drivel, 
along with something that seems to vaguely suggest that cron is using 
the Windows path rather than the cygwin path, so I should put 
Cygwin's bin directory on the Windows path before djgpp's.

Unfortunately, that would fix cron and break djgpp. Got any more 
suggestions?

Meanwhile I'll try setting the PATH inside the crontab...

[copies PATH="/usr/local/bin:/usr/bin:/bin:$PATH" from top line of 
/etc/profile to top line of crontab and times job for ten minutes 
from now]

[starts stomping on this 13k thread -- it should crumple nicely and 
might save bandwidth]

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2002-07-30  9:10       ` Michael A Chase
@ 2002-07-30  9:27     ` Michael A Chase
  2002-07-30  9:10       ` Michael A Chase
  2002-07-31 13:15       ` Paul Derbyshire
  -1 siblings, 2 replies; 38+ messages in thread
From: Michael A Chase @ 2002-07-30  9:27 UTC (permalink / raw)
  To: cygwin, Corinna Vinschen

On Tue, 30 Jul 2002 11:01:36 +0200 Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:

> On Mon, Jul 29, 2002 at 11:47:09PM -0400, Chris Faylor wrote:
> > On Mon, Jul 29, 2002 at 10:08:58PM -0400, Paul Derbyshire wrote:
> > >What with the big directory names debate and the big ctrl-V debate it 
> > >seems the cron problem thread has slipped through the cracks.
> > 
> > I took a look at this one though.  Held it in my arms and tried to
> > apologize.  It whispered to me, "Tell...  Paul...  to...  set...  his
> > system PATH via the Control Panel->System and then reboot...  profile
> > files... not... read... by...  ugh!"
> 
> Boy, I'm so happy that it could still speak when dying in your
> arms.  And this one was some of these really righteous and heroic
> threads, still focused to help mankind while looking DEATH straight
> in the eyes... *sob*

But it didn't finish giving complete, detailed instructions.  So it was all
in vain.  It was a noble effort though, it should be honored for the
attempt.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2002-07-30  9:27     ` Michael A Chase
@ 2002-07-30  9:10       ` Michael A Chase
  2002-07-31 13:15       ` Paul Derbyshire
  1 sibling, 0 replies; 38+ messages in thread
From: Michael A Chase @ 2002-07-30  9:10 UTC (permalink / raw)
  To: cygwin, Corinna Vinschen

On Tue, 30 Jul 2002 11:01:36 +0200 Corinna Vinschen <corinna-cygwin@cygwin.com> wrote:

> On Mon, Jul 29, 2002 at 11:47:09PM -0400, Chris Faylor wrote:
> > On Mon, Jul 29, 2002 at 10:08:58PM -0400, Paul Derbyshire wrote:
> > >What with the big directory names debate and the big ctrl-V debate it 
> > >seems the cron problem thread has slipped through the cracks.
> > 
> > I took a look at this one though.  Held it in my arms and tried to
> > apologize.  It whispered to me, "Tell...  Paul...  to...  set...  his
> > system PATH via the Control Panel->System and then reboot...  profile
> > files... not... read... by...  ugh!"
> 
> Boy, I'm so happy that it could still speak when dying in your
> arms.  And this one was some of these really righteous and heroic
> threads, still focused to help mankind while looking DEATH straight
> in the eyes... *sob*

But it didn't finish giving complete, detailed instructions.  So it was all
in vain.  It was a noble effort though, it should be honored for the
attempt.

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2002-07-30  1:45 ` Christopher Faylor
@ 2002-07-30  3:51   ` Corinna Vinschen
  2002-07-30  9:27     ` Michael A Chase
  0 siblings, 1 reply; 38+ messages in thread
From: Corinna Vinschen @ 2002-07-30  3:51 UTC (permalink / raw)
  To: cygwin

On Mon, Jul 29, 2002 at 11:47:09PM -0400, Chris Faylor wrote:
> On Mon, Jul 29, 2002 at 10:08:58PM -0400, Paul Derbyshire wrote:
> >What with the big directory names debate and the big ctrl-V debate it 
> >seems the cron problem thread has slipped through the cracks.
> 
> I took a look at this one though.  Held it in my arms and tried to
> apologize.  It whispered to me, "Tell...  Paul...  to...  set...  his
> system PATH via the Control Panel->System and then reboot...  profile
> files... not... read... by...  ugh!"

Boy, I'm so happy that it could still speak when dying in your
arms.  And this one was some of these really righteous and heroic
threads, still focused to help mankind while looking DEATH straight
in the eyes... *sob*

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2002-07-29 23:28 Paul Derbyshire
@ 2002-07-30  1:45 ` Christopher Faylor
  2002-07-30  3:51   ` Corinna Vinschen
  0 siblings, 1 reply; 38+ messages in thread
From: Christopher Faylor @ 2002-07-30  1:45 UTC (permalink / raw)
  To: cygwin

On Mon, Jul 29, 2002 at 10:08:58PM -0400, Paul Derbyshire wrote:
>What with the big directory names debate and the big ctrl-V debate it 
>seems the cron problem thread has slipped through the cracks.

It didn't slip, exactly, as much as a bunch of us, on a lark, decided to
jump up and down on it repeatedly.  We didn't notice the crack until the
thread had pretty much been completely smooshed into it.

In fact, we were jumping so hard that I'm not even sure that we didn't
create the actual crack ourselves.

Boy I hate those thread things just lying there all cocky saying "Look
at me!  You lost a button!  Now what are you going to do?  I"m just a
piece of string!  You can't hurt meeeeee!"  I'll wipe the smile off
their thready little faces.

Anyway, sometimes me and the boys get a little carried away with
threads, if you know what I mean.

I took a look at this one though.  Held it in my arms and tried to
apologize.  It whispered to me, "Tell...  Paul...  to...  set...  his
system PATH via the Control Panel->System and then reboot...  profile
files... not... read... by...  ugh!"

Don't know if this makes sense or not but I've got to go stomp on
another thread right now.  It's sneering to me about "directories
with spaces", of all things.

cgf

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Cron problem
@ 2002-07-29 23:28 Paul Derbyshire
  2002-07-30  1:45 ` Christopher Faylor
  0 siblings, 1 reply; 38+ messages in thread
From: Paul Derbyshire @ 2002-07-29 23:28 UTC (permalink / raw)
  To: cygwin

What with the big directory names debate and the big ctrl-V debate it 
seems the cron problem thread has slipped through the cracks.

The last thing I discovered was that it seems to be invoking djgpp's 
rm and mv and not Cygwin's. DJGPP is installed and in the Windows 
PATH. However, the Cygwin PATH starts with 
/usr/local/bin:/usr/bin:/bin so to Cygwin programs Cygwin's rm should 
be selected instead.

Indeed, "which rm" prints "/usr/bin/rm" from the Cygwin bash prompt.

Why, then, is cron using the wrong rm (and mv)?

AFAICT this really is the cause of the failure. It wgets the file but 
fails to move it to the desktop because the DJGPP mv doesn't 
understand cygdrive.

I imagine assigning PATH inside my crontab to prepend /usr/bin would 
fix it. However this smells like a crock to me -- it'd treat the 
symptoms but not whatever problem (cron misconfiguration?) is causing 
them. I know it's not the ideal solution because if this were a 
genuine multiuser system with multiple cygwin users set up, every one 
of them would have to make the same edits in their crontabs, and 
there just has to be a centralized way to do it instead.


--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
       [not found] <BADF3C947A1BD54FBA75C70C241B0B9E40EFDB@ex02.idirect.net>
@ 2002-05-14 11:56 ` Gerrit P. Haase
  0 siblings, 0 replies; 38+ messages in thread
From: Gerrit P. Haase @ 2002-05-14 11:56 UTC (permalink / raw)
  To: Harig, Mark A.; +Cc: cygwin

Mark schrieb:

> Give me simple one or two-line perl scripts that duplicate your problem
> and I will try them.  The scripts should just print the working
> directory or the date or something simple like that.  It sounds like a
> PATH problem or a mount-point problem or the startup mode of cron.  Is
> CYGWIN="binmode ntfs tty"?

Yep (ntsec;).


script1.pl:
#!/usr/bin/env perl
$cmd = "perl /path/script2.pl";
system $cmd;
1;

script2.pl:
#!/usr/bin/env perl
print "I'm script two.\n"
1;

crontab -e:
MAILTO=your@address.here
1 * * * * /usr/bin/perl /path/script1.pl

Put both scripts in /path no mounts are involved.
The mail from Cron:
Can't open perl script "/path/script2.pl": No such file or directory

It seems to be the problem that I didn't used an absolute path to perl
in script1.pl.
It works ok. if I change it to /usr/bin/perl.
It seems that Cron is running the wrong perl.  I need to fix my path.


Thanks for your help,

Gerrit
-- 
=^..^=


--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Cron problem
@ 2002-05-14  7:44 Gerrit P. Haase
  0 siblings, 0 replies; 38+ messages in thread
From: Gerrit P. Haase @ 2002-05-14  7:44 UTC (permalink / raw)
  To: cygwin

Cron writes:

> receiving file list ... done
> /TheBat/spamlist.txt
> wrote 16527 bytes  read 3178 bytes  3031.54 bytes/sec
> total size is 1915965  speedup is 97.23
> Can't open perl script "/TheBat/spammer.pl": No such file or directory

spammer.pl is called by a perl script that is start by cron.
Why does one perl script don't find another one?
It is there:
$ ls -ln /TheBat/spammer.pl
-rwxrwxrwx    1 11002    544          4409 May 14 15:28 /TheBat/spammer.pl


I will now put all in one script, but I think this is weird.

Gerrit
-- 
=^..^=


--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: cron problem
  2002-03-05  1:01   ` Corinna Vinschen
@ 2002-03-05 11:17     ` Michael Adler
  0 siblings, 0 replies; 38+ messages in thread
From: Michael Adler @ 2002-03-05 11:17 UTC (permalink / raw)
  To: Corinna Vinschen



On Tue, 5 Mar 2002, Corinna Vinschen wrote:

> On Thu, Feb 28, 2002 at 10:49:51AM -0500, Michael Adler wrote:
> > What I think should really happen is that cron should create those
> > directories during installation so they are owned by whoever installed
> > cygwin.
>
> Would you mind to help out and create an install script for
> /etc/postinstall?


I thought you could just inlude empty directories when you make the tar
ball.

This worked for me too.
############################

#!/bin/bash

if [ -d /var/cron/tabs ] ; then
        echo "/var/cron/tabs already exists"
else
        echo "creating /var/cron/tabs"
        mkdir -p /var/cron/tabs
fi




--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: cron problem
  2002-02-28  8:04 ` Michael Adler
@ 2002-03-05  1:01   ` Corinna Vinschen
  2002-03-05 11:17     ` Michael Adler
  0 siblings, 1 reply; 38+ messages in thread
From: Corinna Vinschen @ 2002-03-05  1:01 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

On Thu, Feb 28, 2002 at 10:49:51AM -0500, Michael Adler wrote:
> What I think should really happen is that cron should create those
> directories during installation so they are owned by whoever installed
> cygwin.

I think you're right but don't forget that the permissions should
be set to 1777 on /var/cron and /var/cron/tabs. 

Would you mind to help out and create an install script for
/etc/postinstall?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* RE: cron problem
@ 2002-02-28 10:02 Sanjay Gupta
  0 siblings, 0 replies; 38+ messages in thread
From: Sanjay Gupta @ 2002-02-28 10:02 UTC (permalink / raw)
  To: 'Michael Adler'; +Cc: 'cygwin@cygwin.com'

Thanks Michael,
I have read your post and I guess, I have started cron daemon first. I have
WinNT 4.0 SP6a and I was not able to delete the cron directory. I have tried
rm -rf cron and I have also tried deleteing the cron directory from WinNT
but I couldn't. It was saying that Access is denied or file is being used.
Then I asked my WinNT adminstrator to delete the cron directory and he was
able to do it with little efforts.
After delete cron directory, I first did crontab -e and put a dummy entry in
crontab * * * * * date > date.log
and then it worked.

Sanjay

-----Original Message-----
From: Michael Adler [mailto:adler@glimpser.org]
Sent: Thursday, February 28, 2002 7:50 AM
To: Sanjay Gupta
Cc: 'cygwin@cygwin.com'
Subject: Re: cron problem



I reported a related problem a few weeks ago and then reported a fix for
this last week.

Unfortunately, I haven't seen any response from the maintainers--perhaps I
reported this to the wrong list...

Did you start the cron daemon (as some other user?) before creating a
crontab? If yes, then that other user (probably 'SYSTEM') owns /var/cron
and you don't have write access.

On Win2k, you can change the owner of that directory, and then add that
user and give that user full control over /var/cron and /var/cron/tabs.

Next time, make a crontab before starting the cron daemon.


What I think should really happen is that cron should create those
directories during installation so they are owned by whoever installed
cygwin.

Best of luck.

Mike


On Wed, 27 Feb 2002, Sanjay Gupta wrote:

> Date: Wed, 27 Feb 2002 17:31:05 -0800
> From: Sanjay Gupta <SGupta@Epylon.com>
> To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
> Subject: cron problem
>
> Why, I am getting the following error when creating cronjobs.
>
> $ crontab -e
> no crontab for Administrator - using an empty one
> crontab: installing new crontab
> crontab: error renaming tabs/tmp.000107 to tabs/Administrator
> rename: Permission denied
> crontab: edits left in /tmp/crontab.107
>
> Sanjay
>
> --
> 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/
>

Mike


--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: cron problem
  2002-02-27 18:26 Sanjay Gupta
@ 2002-02-28  8:04 ` Michael Adler
  2002-03-05  1:01   ` Corinna Vinschen
  0 siblings, 1 reply; 38+ messages in thread
From: Michael Adler @ 2002-02-28  8:04 UTC (permalink / raw)
  To: Sanjay Gupta; +Cc: 'cygwin@cygwin.com'


I reported a related problem a few weeks ago and then reported a fix for
this last week.

Unfortunately, I haven't seen any response from the maintainers--perhaps I
reported this to the wrong list...

Did you start the cron daemon (as some other user?) before creating a
crontab? If yes, then that other user (probably 'SYSTEM') owns /var/cron
and you don't have write access.

On Win2k, you can change the owner of that directory, and then add that
user and give that user full control over /var/cron and /var/cron/tabs.

Next time, make a crontab before starting the cron daemon.


What I think should really happen is that cron should create those
directories during installation so they are owned by whoever installed
cygwin.

Best of luck.

Mike


On Wed, 27 Feb 2002, Sanjay Gupta wrote:

> Date: Wed, 27 Feb 2002 17:31:05 -0800
> From: Sanjay Gupta <SGupta@Epylon.com>
> To: "'cygwin@cygwin.com'" <cygwin@cygwin.com>
> Subject: cron problem
>
> Why, I am getting the following error when creating cronjobs.
>
> $ crontab -e
> no crontab for Administrator - using an empty one
> crontab: installing new crontab
> crontab: error renaming tabs/tmp.000107 to tabs/Administrator
> rename: Permission denied
> crontab: edits left in /tmp/crontab.107
>
> Sanjay
>
> --
> 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/
>

Mike



--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* cron problem
@ 2002-02-27 18:26 Sanjay Gupta
  2002-02-28  8:04 ` Michael Adler
  0 siblings, 1 reply; 38+ messages in thread
From: Sanjay Gupta @ 2002-02-27 18:26 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

Why, I am getting the following error when creating cronjobs. 

$ crontab -e
no crontab for Administrator - using an empty one
crontab: installing new crontab
crontab: error renaming tabs/tmp.000107 to tabs/Administrator
rename: Permission denied
crontab: edits left in /tmp/crontab.107

Sanjay

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2001-12-20 13:07 ` Corinna Vinschen
@ 2001-12-23 17:12   ` Jari Aalto
  0 siblings, 0 replies; 38+ messages in thread
From: Jari Aalto @ 2001-12-23 17:12 UTC (permalink / raw)
  To: cygwin

* Thu 2001-12-20 Corinna Vinschen <cygwin@cygwin.com> list.cygwin
* Message-Id: <20011220220112.Y21898@cygbert.vinschen.de>
| On Thu, Dec 20, 2001 at 02:28:02PM -0500, Satya Nemana wrote:
>
>> Any info on how to make this cron work, will be of great help to us all.
>
| Just to be sure, I'm telling my setup.

Thank you Corinna, however I have exactly the same problem as the original
poster. This is the error from event viewer after:

//root@W2KPICASSO $ cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=binmode tty ntsec"
//root@W2KPICASSO $ mkdir /home/system 
//root@W2KPICASSO $ net start cron
The cron service is starting.
The cron service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.


    The description for Event ID ( 0 ) in Source ( cron ) cannot be
    found. The local computer may not have the necessary registry
    information or message DLL files to display messages from a remote
    computer. The following information is part of the event: cron : Win32
    Process Id = 0xBC0 : Cygwin Process Id = 0xBC0 : starting service
    `cron' failed: execv: 255, error 0.\0


I was missing the SYSTM from /etc/password, so Iadded the entry
by hand there and created /home/systemm as in your setup.

/var/cron/tabs/ is empty

-rw-r--r--    1 root     None          327 Sep 23 14:23 /etc/group
-rw-r--r--    1 root     None          509 Dec 24 01:49 /etc/passwd


| - cron installed with
>
|   cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=binmode tty ntsec"
>
| - My /etc/passwd (partly):
>
|   root:*:0:0:,S-1-5-32-544::
|   Everyone:*:1:1:,S-1-1-0::
|   SYSTEM:*:18:18:,S-1-5-18:/home/system:/bin/bash
|   corinna::100:0:,S-1-5-21-XXX-YYY-ZZZ-1003:/home/corinna:/bin/tcsh
|   dummy::101:545:,S-1-5-21-XXX-YYY-ZZZ-1004:/home/dummy:/bin/bash
>
| - My /etc/group (partly):
>
|   root:S-1-5-32-544:0:
|   everyone:S-1-1-0:1:
|   SYSTEM:S-1-5-18:18:
|   none:S-1-5-21-XXX-YYY-ZZZ-513:513:
|   users:S-1-5-32-545:545:
>
| - /etc, /etc/passwd and /etc/group world readable.
>
| - ls -laR /var/cron
>
|   /var/cron:
|   total 0
|   drwxrwxrwt    3 corinna  root            0 Jul 10 11:51 .
|   drwxr-xr-x    6 dummy    users           0 Mar  8  2001 ..
|   drwxrwxrwt    2 corinna  root            0 Sep 19 19:00 tabs

Hm. How did you made ugo+rwx . ? In my system, logged in as Administrator,
the permissions still staty as:


//root@W2KPICASSO /var/cron $ chmod ugo+rwx .
//root@W2KPICASSO /var/cron $ ls -la
total 0
drwxr-xr-x    3 root     None            0 Jul 11 12:27 .
drwxr-xr-x    8 root     None            0 Feb 10  2001 ..
drwxr-xr-x    2 root     None            0 Jul 11 12:27 tabs

|   /var/cron/tabs:
|   total 2
|   drwxrwxrwt    2 corinna  root            0 Sep 19 19:00 .
|   drwxrwxrwt    3 corinna  root            0 Jul 10 11:51 ..
|   -rw-r-----    1 dummy    SYSTEM        225 Sep 19 19:00 dummy
|   -rw-r-----    1 corinna  SYSTEM        230 Sep 19 18:58 corinna
>
|   `corinna' is an admin account, `dummy' is a standard user.
>
| Cron works fine for both accounts, corinna as well as dummy.
>
| I don't know what's your problem is.  I can just suggest to debug
| your installation.

Further debug instrustion where to look next are welcome.
is it possible to run cron at the foregroung with strace or
something in order to see why it fails?

Jari


--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2001-12-20 11:43 Cron problem Satya Nemana
@ 2001-12-20 13:07 ` Corinna Vinschen
  2001-12-23 17:12   ` Jari Aalto
  0 siblings, 1 reply; 38+ messages in thread
From: Corinna Vinschen @ 2001-12-20 13:07 UTC (permalink / raw)
  To: cygwin

On Thu, Dec 20, 2001 at 02:28:02PM -0500, Satya Nemana wrote:
> Any info on how to make this cron work, will be of great help to us all.

Just to be sure, I'm telling my setup.

- cron installed with

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

- My /etc/passwd (partly):

  root:*:0:0:,S-1-5-32-544::
  Everyone:*:1:1:,S-1-1-0::
  SYSTEM:*:18:18:,S-1-5-18:/home/system:/bin/bash
  corinna::100:0:,S-1-5-21-XXX-YYY-ZZZ-1003:/home/corinna:/bin/tcsh
  dummy::101:545:,S-1-5-21-XXX-YYY-ZZZ-1004:/home/dummy:/bin/bash

- My /etc/group (partly):

  root:S-1-5-32-544:0:
  everyone:S-1-1-0:1:
  SYSTEM:S-1-5-18:18:
  none:S-1-5-21-XXX-YYY-ZZZ-513:513:
  users:S-1-5-32-545:545:

- /etc, /etc/passwd and /etc/group world readable.

- ls -laR /var/cron

  /var/cron:
  total 0
  drwxrwxrwt    3 corinna  root            0 Jul 10 11:51 .
  drwxr-xr-x    6 dummy    users           0 Mar  8  2001 ..
  drwxrwxrwt    2 corinna  root            0 Sep 19 19:00 tabs

  /var/cron/tabs:
  total 2
  drwxrwxrwt    2 corinna  root            0 Sep 19 19:00 .
  drwxrwxrwt    3 corinna  root            0 Jul 10 11:51 ..
  -rw-r-----    1 dummy    SYSTEM        225 Sep 19 19:00 dummy
  -rw-r-----    1 corinna  SYSTEM        230 Sep 19 18:58 corinna

  `corinna' is an admin account, `dummy' is a standard user.

Cron works fine for both accounts, corinna as well as dummy.

I don't know what's your problem is.  I can just suggest to debug
your installation.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* RE: Cron problem
@ 2001-12-20 11:43 Satya Nemana
  2001-12-20 13:07 ` Corinna Vinschen
  0 siblings, 1 reply; 38+ messages in thread
From: Satya Nemana @ 2001-12-20 11:43 UTC (permalink / raw)
  To: Corinna Vinschen

I had the same CRON problem. Got struckup. I was about send this same
requets to cygwin.
As you wanted, here is the event log info that I captured from my
Windows 2000 system after setting up cygwin cron.

I noticed that following is the event type generated in event logs. The
time stamp of this event matches with the time, when I run 'crontab -e'
to edit the crontab entries with some vi or so, which is invoked by
'crontab -e', but not with the time stamp when the cron is supposed to
triggered in the crontab.

--- cut ---
The description for Event ID ( 0 ) in Source ( crontab ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. The following information is part of the event: crontab :
Win32 Process Id = 0x5AC : Cygwin Process Id = 0x41C : (Administrator)
LIST (Administrator).
--- cut ---

To know mnore about how to look into event log, here is the help window
contents from Win2000:
Notes: To open Event Viewer, click Start, point to Settings, and then
click Control Panel. Double-click Administrative Tools, and then
double-click Event Viewer.

Look for Application Events, as I could not find any relavant system
events that match our cron test time stamps.

This event also happens when I setup crontab in any other way like what
is described in the previous email. No event log is reported, when the
cron is supposed to execute, cron job was not run at all. This cron
setup needs something to do with Windows Registry, since Windows has
come up with some fancy "Microsoft Scheduler" kind of thing, which our
cron should be able internally use it.

Any info on how to make this cron work, will be of great help to us all.

Satya Nemana

-----Original Message-----
From: Corinna Vinschen [mailto:cygwin@cygwin.com]
Sent: Thursday, December 20, 2001 3:27 AM
To: cygwin@cygwin.com
Subject: Re: Cron problem


On Wed, Dec 19, 2001 at 03:15:42PM -0800, Ryan Koopmans wrote:
> Hello,
> 
> I'm having trouble running cron with Cygwin:
> CYGWIN_NT-4.0 CITYWEB02 1.3.6(0.47/3/2) 2001-12-08 17:02 i686 unknown
> 
> I installed cron with the command
> 
> $ cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=binmode tty
ntsec" -e "MAILTO=rkoopmans@city
> ofsacramento.org"
> 
> I install a crontab with the contents
> * * * * * date >> /crontest.out
> through crontab.
> 
> The service starts, but nothing seems to happen.  Can anyone help me?

There should be at least somthing in the event log.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Re: Cron problem
  2001-12-19 16:02 Ryan Koopmans
@ 2001-12-20  3:46 ` Corinna Vinschen
  0 siblings, 0 replies; 38+ messages in thread
From: Corinna Vinschen @ 2001-12-20  3:46 UTC (permalink / raw)
  To: cygwin

On Wed, Dec 19, 2001 at 03:15:42PM -0800, Ryan Koopmans wrote:
> Hello,
> 
> I'm having trouble running cron with Cygwin:
> CYGWIN_NT-4.0 CITYWEB02 1.3.6(0.47/3/2) 2001-12-08 17:02 i686 unknown
> 
> I installed cron with the command
> 
> $ cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=binmode tty ntsec" -e "MAILTO=rkoopmans@city
> ofsacramento.org"
> 
> I install a crontab with the contents
> * * * * * date >> /crontest.out
> through crontab.
> 
> The service starts, but nothing seems to happen.  Can anyone help me?

There should be at least somthing in the event log.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Cron problem
@ 2001-12-19 16:02 Ryan Koopmans
  2001-12-20  3:46 ` Corinna Vinschen
  0 siblings, 1 reply; 38+ messages in thread
From: Ryan Koopmans @ 2001-12-19 16:02 UTC (permalink / raw)
  To: cygwin

Hello,

I'm having trouble running cron with Cygwin:
CYGWIN_NT-4.0 CITYWEB02 1.3.6(0.47/3/2) 2001-12-08 17:02 i686 unknown

I installed cron with the command

$ cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=binmode tty ntsec" -e "MAILTO=rkoopmans@city
ofsacramento.org"

I install a crontab with the contents
* * * * * date >> /crontest.out
through crontab.

The service starts, but nothing seems to happen.  Can anyone help me?

Thanks,
Ryan Koopmans


--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* Cron problem
@ 2001-07-11 11:22 Sergey Melnykov
  0 siblings, 0 replies; 38+ messages in thread
From: Sergey Melnykov @ 2001-07-11 11:22 UTC (permalink / raw)
  To: cygwin

Hi cygwin guru,

I couldn't get cron working under W2K.
I installed cron with cygrunsrv as NT service, started it but cron
jobs seems to be not working.
The Event viewer shows a couple of messages per every event:

"The decription for Event ID(0) in Source(Cygwin)could not be found.
It contains the following insertion string(s):(pcnet) CMD (echo "Hello
Sergey")

and:

"The decription for Event ID(0) in Source(Cygwin)could not be found.
It contains the following insertion string(s):(CRON) error (can't
switch user context)

Any clue to fix the problem?




  

-- 
Best regards,
 Sergey                          mailto:ser.mel@home.com



--
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/

^ permalink raw reply	[flat|nested] 38+ messages in thread

* cron problem
@ 2001-06-20 10:34 Leonid Rokhinson
  0 siblings, 0 replies; 38+ messages in thread
From: Leonid Rokhinson @ 2001-06-20 10:34 UTC (permalink / raw)
  To: cygwin

I've installed cron-3.0.1-1 and run the service:

 /$ ps -a
      PID    PPID    PGID     WINPID  TTY  UID    STIME COMMAND
     1732       1    1732       1732    ?   18 12:49:07
/usr/bin/cygrunsrv
     1748    1732    1732        920    ?   18 12:49:07 /usr/sbin/cron

However, I could not run crontab:

 /$ crontab -e
seteuid: Invalid argument
 /$ crontab -u leonid -e
must be privileged to use -u
 
What is wrong?
 
--Leonid

PS. I have administrative account under Win2000

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2006-09-29  8:40 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-07 12:18 Cron problem Orfeo Da Via
2005-10-07 14:09 ` Igor Pechtchanski
2005-10-07 14:46   ` Orfeo Da Via
2005-10-07 15:22     ` Igor Pechtchanski
2005-10-07 16:48       ` Orfeo Da Via
2005-10-07 17:23         ` René Berber
2005-10-07 17:24         ` Igor Pechtchanski
2005-10-08  9:10           ` Orfeo Da Via
2005-10-08  9:26             ` Brian Dessent
2005-10-08 20:33             ` Igor Pechtchanski
2005-10-10  7:34               ` Orfeo Da Via
2005-10-10 12:11                 ` Igor Pechtchanski
2005-10-10 13:25                   ` Orfeo Da Via
2005-10-10 14:44                     ` Igor Pechtchanski
  -- strict thread matches above, loose matches on Subject: below --
2006-09-29  7:37 Joost Kraaijeveld
2006-09-29  8:40 ` Joost Kraaijeveld
2002-07-29 23:28 Paul Derbyshire
2002-07-30  1:45 ` Christopher Faylor
2002-07-30  3:51   ` Corinna Vinschen
2002-07-30  9:27     ` Michael A Chase
2002-07-30  9:10       ` Michael A Chase
2002-07-31 13:15       ` Paul Derbyshire
2002-07-31 14:11         ` Paul Derbyshire
2002-07-31 23:24         ` Max Bowsher
     [not found] <BADF3C947A1BD54FBA75C70C241B0B9E40EFDB@ex02.idirect.net>
2002-05-14 11:56 ` Gerrit P. Haase
2002-05-14  7:44 Gerrit P. Haase
2002-02-28 10:02 cron problem Sanjay Gupta
2002-02-27 18:26 Sanjay Gupta
2002-02-28  8:04 ` Michael Adler
2002-03-05  1:01   ` Corinna Vinschen
2002-03-05 11:17     ` Michael Adler
2001-12-20 11:43 Cron problem Satya Nemana
2001-12-20 13:07 ` Corinna Vinschen
2001-12-23 17:12   ` Jari Aalto
2001-12-19 16:02 Ryan Koopmans
2001-12-20  3:46 ` Corinna Vinschen
2001-07-11 11:22 Sergey Melnykov
2001-06-20 10:34 cron problem Leonid Rokhinson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).