public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cron problem in W2K Proffesional
@ 2002-12-06  8:51 Eric De La Cruz Lugo
  2002-12-06  9:07 ` Christopher Faylor
  0 siblings, 1 reply; 14+ messages in thread
From: Eric De La Cruz Lugo @ 2002-12-06  8:51 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 9979 bytes --]

Hi!, i just installed cygwin in my PC in order to run
a shell script, this script run just fine form the
command line, now i need to run this script every
minute ("cron" and "crontab" issue).

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

here is my configuration.


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

Windows 2000 Professional Ver 5.0 Build 2195 Service
Pack 2

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

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

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

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

Use `-r' to scan registry

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

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

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

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


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

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

Use -h to see help about each section




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

thanks in advance for your advice and help.

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

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


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

--
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] 14+ messages in thread

* Re: cron problem in W2K Proffesional
  2002-12-06  8:51 cron problem in W2K Proffesional Eric De La Cruz Lugo
@ 2002-12-06  9:07 ` Christopher Faylor
  0 siblings, 0 replies; 14+ messages in thread
From: Christopher Faylor @ 2002-12-06  9:07 UTC (permalink / raw)
  To: cygwin

On Fri, Dec 06, 2002 at 08:49:06AM -0800, Eric De La Cruz Lugo wrote:
>Hi!, i just installed cygwin in my PC in order to run
>a shell script, this script run just fine form the
>command line, now i need to run this script every
>minute ("cron" and "crontab" issue).
>
>I have read all the mail list and FAQ and README files
>and applied every posible hint and advise, but my
>script does not run from cron.

http://cygwin.com/bugs.html

cgf
--
Please do not send me personal email with cygwin questions or observations.
Use the resources at http://cygwin.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] 14+ messages in thread

* Re: cron problem in W2K Proffesional
  2002-12-06 20:53 ` Eric De La Cruz Lugo
@ 2002-12-09 17:10   ` Andrew DeFaria
  0 siblings, 0 replies; 14+ messages in thread
From: Andrew DeFaria @ 2002-12-09 17:10 UTC (permalink / raw)
  To: cygwin

Eric De La Cruz Lugo wrote:

> The cron works now!, the output its ok (date.txt).
>
> but with my script the things are different, here are
> the files I use.. I tested the script from the command
> line and work flawlesly, but when i add it to my
> crontab it does not work has expected!
>
> the files are atached to the mail, and the output from
> the script being executed by the cron its there too.
>
> hope you can help me or advise me.

My suspicion would be that somewhere along the line you are referencing 
a mount point or a mapped location that just is not accessible from 
cron. Cron's environment does not insure that all network locations are 
accessible. I remember asking about this in the past. There is some 
difference between mount points where some are "global" and some are 
not. IIRC I never got a satisfactory answer as to the question of how 
one tells the difference.

You should probably add some cron entries to ls various files you depend 
on using their exact paths that you use in your scripts. One of them 
will most likely fail.

Meantime you might want to set up SMTP so that cron can email you when 
you make typos like /usr/sbin/date... :-)




--
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] 14+ messages in thread

* RE: cron problem in W2K Proffesional
  2002-12-06 16:07 Harig, Mark A.
@ 2002-12-06 20:53 ` Eric De La Cruz Lugo
  2002-12-09 17:10   ` Andrew DeFaria
  0 siblings, 1 reply; 14+ messages in thread
From: Eric De La Cruz Lugo @ 2002-12-06 20:53 UTC (permalink / raw)
  To: Harig, Mark A., cygwin

[-- Attachment #1: Type: text/plain, Size: 559 bytes --]

The cron works now!, the output its ok (date.txt).

but with my script the things are different, here are
the files I use.. I tested the script from the command
line and work flawlesly, but when i add it to my
crontab it does not work has expected!

the files are atached to the mail, and the output from
the script being executed by the cron its there too.

hope you can help me or advise me.

the main file is 

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

[-- Attachment #2: scripts.zip --]
[-- Type: application/x-zip-compressed, Size: 1603 bytes --]

[-- Attachment #3: outputbadandgood.zip --]
[-- Type: application/x-zip-compressed, Size: 1860 bytes --]

[-- Attachment #4: Type: text/plain, Size: 214 bytes --]

--
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] 14+ messages in thread

* RE: cron problem in W2K Proffesional
@ 2002-12-06 16:07 Harig, Mark A.
  2002-12-06 20:53 ` Eric De La Cruz Lugo
  0 siblings, 1 reply; 14+ messages in thread
From: Harig, Mark A. @ 2002-12-06 16:07 UTC (permalink / raw)
  To: Eric De La Cruz Lugo, cygwin

> >    5. Check your crontab: crontab -l
> 
> Done it shows:
> 
> # DO NOT EDIT THIS FILE - edit the master and
> reinstall.
> # (/tmp/crontab.1036 installed on Fri Dec  6 13:04:23
> 2002)
> # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19
> 17:09:55 corinna Exp $)
> * * * * * /usr/sbin/date >> /tmp/date.txt
> 

Do you have a file '/usr/sbin/date'?  Usually, this is in
/usr/bin/ not /usr/sbin/.  At your shell prompt, enter:

   type date

or

   which date

---

--
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] 14+ messages in thread

* RE: cron problem in W2K Proffesional
  2002-12-06 15:14 Harig, Mark A.
@ 2002-12-06 15:52 ` Eric De La Cruz Lugo
  0 siblings, 0 replies; 14+ messages in thread
From: Eric De La Cruz Lugo @ 2002-12-06 15:52 UTC (permalink / raw)
  To: Harig, Mark A., cygwin


--- "Harig, Mark A." <maharig@idirect.net> wrote:
> It appears as though everything is set correctly.
> 
> Try:
> 
>    1. Shut down your cron service.

Done.

>    2. Run Cygwin's setup.exe to uninstall 'cron'.

Done.

>    3. Run setup.exe a second time to
> download/install
>       a new copy of 'cron'.

Done.

>    4. Reboot your computer.

Done.

>    5. Check your crontab: crontab -l

Done it shows:

# DO NOT EDIT THIS FILE - edit the master and
reinstall.
# (/tmp/crontab.1036 installed on Fri Dec  6 13:04:23
2002)
# (Cron version -- $Id: crontab.c,v 1.6 2001/09/19
17:09:55 corinna Exp $)
* * * * * /usr/sbin/date >> /tmp/date.txt


>    6. Install the cron service and start it.

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

cygrunserv -S cron

ps -e shows:

      PID    PPID    PGID     WINPID  TTY  UID   
STIME COMMAND
     1560       1    1560       1560  con 1000
17:35:32 /usr/bin/bash
     1420       1    1420       1420    ?   18
17:36:52 /usr/bin/cygrunsrv
     1384    1420    1420       1132    ?   18
17:36:52 /usr/sbin/cron
     1040    1560    1040       1648  con 1000
17:45:21 /usr/bin/ps


waited for 8 minutes and checked /tmp....guess what???

NOTHING! there is no output yet :( no "date.txt"

anything else? other aproach to this problem?


> 

Eric De La Cruz Lugo
Merida Yucatan, Mexico.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.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] 14+ messages in thread

* RE: cron problem in W2K Proffesional
@ 2002-12-06 15:14 Harig, Mark A.
  2002-12-06 15:52 ` Eric De La Cruz Lugo
  0 siblings, 1 reply; 14+ messages in thread
From: Harig, Mark A. @ 2002-12-06 15:14 UTC (permalink / raw)
  To: Eric De La Cruz Lugo, cygwin

It appears as though everything is set correctly.

Try:

   1. Shut down your cron service.
   2. Run Cygwin's setup.exe to uninstall 'cron'.
   3. Run setup.exe a second time to download/install
      a new copy of 'cron'.
   4. Reboot your computer.
   5. Check your crontab: crontab -l
   6. Install the cron service and start it.

> -----Original Message-----
> From: Eric De La Cruz Lugo [mailto:eric_delacruz@yahoo.com]
> Sent: Friday, December 06, 2002 4:53 PM
> To: Harig, Mark A.; cygwin@cygwin.com
> Subject: RE: cron problem in W2K Proffesional
> 
> 
> 
> Ok, I have made the changes, now the directories show:
> 
> total 4
> drwxrwxrwx    6 Administ Ninguno         0 Apr 12 
> 2002 .
> drwxrwxrwx   10 Administ Ninguno      4096 Dec  5
> 19:38 ..
> drwxrwxrwt    3 asuncion Ninguno         0 Apr 12 
> 2002 cron
> drwxrwxrwx    2 Administ Ninguno         0 Dec  5
> 18:46 log
> drwxrwxrwx    2 Administ Ninguno         0 Dec  5
> 18:46 run
> drwxrwxrwx    2 Administ Ninguno         0 Apr 12 
> 2002 tmp
> 
> 
> 
> total 1
> drwxrwxrwt    3 asuncion Ninguno         0 Dec  6
> 15:44 .
> drwxrwxrwx    6 Administ Ninguno         0 Apr 12 
> 2002 ..
> -rw-rw-rw-    1 asuncion Ninguno         0 Dec  6
> 15:44 lista
> -rw-rw-rw-    1 asuncion Ninguno       318 Dec  6
> 15:44 listatabs.txt
> drwxrwxrwt    2 asuncion Ninguno         0 Dec  6
> 15:44 tabs
> 
> 
> 
> 
> total 2
> drwxrwxrwt    2 asuncion Ninguno         0 Dec  6
> 15:44 .
> drwxrwxrwt    3 asuncion Ninguno         0 Dec  6
> 15:44 ..
> -rw-r-----    1 asuncion SYSTEM        234 Dec  6
> 13:04 asuncion1
> -rw-rw-rw-    1 asuncion Ninguno       264 Dec  6
> 15:44 listacrontab.txt
> 
> 
> I restarted the cron daemon, and waited for 5 minutes,
> nothing happens yet.
> 
> Other ideas?
> 
> Eric De La Cruz Lugo
> Merida Yucatan Mexico
> 
> 
> 
> 
> 
> ---------
> Also, once you have done this, shut down
> your cron service and restart it.
> 
> > -----Original Message-----
> > From: Harig, Mark A. 
> > Sent: Friday, December 06, 2002 4:20 PM
> > To: Eric De La Cruz Lugo; cygwin@cygwin.com
> > Subject: RE: cron problem in W2K Proffesional
> > 
> > 
> > > 
> > > drwxrwxrwx     3  asuncion   Ninguno           0
> Apr
> > > 12 2002  /var/cron
> > > 
> > > drwxrwxrwx     2  asuncion   Ninguno           0
> Dec 6
> > > 13:04  /var/cron/tabs
> > > 
> > 
> > For some reason, your 'sticky bit' settings didn't
> get set
> > for /var/cron/ and /var/cron/tabs/.
> > 
> > Instead of 'drwxrwxrwx', your permissions should be
> > 'drwxrwxrwt'.
> > 
> > Try:
> > 
> >    chmod 1777 /var/cron
> >    chmod 1777 /var/cron/tabs
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.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] 14+ messages in thread

* RE: cron problem in W2K Proffesional
  2002-12-06 12:04 Harig, Mark A.
  2002-12-06 12:05 ` Eric De La Cruz Lugo
@ 2002-12-06 14:03 ` Eric De La Cruz Lugo
  1 sibling, 0 replies; 14+ messages in thread
From: Eric De La Cruz Lugo @ 2002-12-06 14:03 UTC (permalink / raw)
  To: Harig, Mark A., cygwin


Ok, I have made the changes, now the directories show:

total 4
drwxrwxrwx    6 Administ Ninguno         0 Apr 12 
2002 .
drwxrwxrwx   10 Administ Ninguno      4096 Dec  5
19:38 ..
drwxrwxrwt    3 asuncion Ninguno         0 Apr 12 
2002 cron
drwxrwxrwx    2 Administ Ninguno         0 Dec  5
18:46 log
drwxrwxrwx    2 Administ Ninguno         0 Dec  5
18:46 run
drwxrwxrwx    2 Administ Ninguno         0 Apr 12 
2002 tmp



total 1
drwxrwxrwt    3 asuncion Ninguno         0 Dec  6
15:44 .
drwxrwxrwx    6 Administ Ninguno         0 Apr 12 
2002 ..
-rw-rw-rw-    1 asuncion Ninguno         0 Dec  6
15:44 lista
-rw-rw-rw-    1 asuncion Ninguno       318 Dec  6
15:44 listatabs.txt
drwxrwxrwt    2 asuncion Ninguno         0 Dec  6
15:44 tabs




total 2
drwxrwxrwt    2 asuncion Ninguno         0 Dec  6
15:44 .
drwxrwxrwt    3 asuncion Ninguno         0 Dec  6
15:44 ..
-rw-r-----    1 asuncion SYSTEM        234 Dec  6
13:04 asuncion1
-rw-rw-rw-    1 asuncion Ninguno       264 Dec  6
15:44 listacrontab.txt


I restarted the cron daemon, and waited for 5 minutes,
nothing happens yet.

Other ideas?

Eric De La Cruz Lugo
Merida Yucatan Mexico





---------
Also, once you have done this, shut down
your cron service and restart it.

> -----Original Message-----
> From: Harig, Mark A. 
> Sent: Friday, December 06, 2002 4:20 PM
> To: Eric De La Cruz Lugo; cygwin@cygwin.com
> Subject: RE: cron problem in W2K Proffesional
> 
> 
> > 
> > drwxrwxrwx     3  asuncion   Ninguno           0
Apr
> > 12 2002  /var/cron
> > 
> > drwxrwxrwx     2  asuncion   Ninguno           0
Dec 6
> > 13:04  /var/cron/tabs
> > 
> 
> For some reason, your 'sticky bit' settings didn't
get set
> for /var/cron/ and /var/cron/tabs/.
> 
> Instead of 'drwxrwxrwx', your permissions should be
> 'drwxrwxrwt'.
> 
> Try:
> 
>    chmod 1777 /var/cron
>    chmod 1777 /var/cron/tabs


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.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] 14+ messages in thread

* RE: cron problem in W2K Proffesional
@ 2002-12-06 13:30 Harig, Mark A.
  0 siblings, 0 replies; 14+ messages in thread
From: Harig, Mark A. @ 2002-12-06 13:30 UTC (permalink / raw)
  To: Eric De La Cruz Lugo, cygwin

Also, once you have done this, shut down
your cron service and restart it.

> -----Original Message-----
> From: Harig, Mark A. 
> Sent: Friday, December 06, 2002 4:20 PM
> To: Eric De La Cruz Lugo; cygwin@cygwin.com
> Subject: RE: cron problem in W2K Proffesional
> 
> 
> > 
> > drwxrwxrwx     3  asuncion   Ninguno           0 Apr
> > 12 2002  /var/cron
> > 
> > drwxrwxrwx     2  asuncion   Ninguno           0 Dec 6
> > 13:04  /var/cron/tabs
> > 
> 
> For some reason, your 'sticky bit' settings didn't get set
> for /var/cron/ and /var/cron/tabs/.
> 
> Instead of 'drwxrwxrwx', your permissions should be
> 'drwxrwxrwt'.
> 
> Try:
> 
>    chmod 1777 /var/cron
>    chmod 1777 /var/cron/tabs
> 
> ----
> 
> --
> 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/
> 
> 

--
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] 14+ messages in thread

* RE: cron problem in W2K Proffesional
@ 2002-12-06 13:24 Harig, Mark A.
  0 siblings, 0 replies; 14+ messages in thread
From: Harig, Mark A. @ 2002-12-06 13:24 UTC (permalink / raw)
  To: Eric De La Cruz Lugo, cygwin

> 
> drwxrwxrwx     3  asuncion   Ninguno           0 Apr
> 12 2002  /var/cron
> 
> drwxrwxrwx     2  asuncion   Ninguno           0 Dec 6
> 13:04  /var/cron/tabs
> 

For some reason, your 'sticky bit' settings didn't get set
for /var/cron/ and /var/cron/tabs/.

Instead of 'drwxrwxrwx', your permissions should be
'drwxrwxrwt'.

Try:

   chmod 1777 /var/cron
   chmod 1777 /var/cron/tabs

----

--
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] 14+ messages in thread

* RE: cron problem in W2K Proffesional
  2002-12-06 12:04 Harig, Mark A.
@ 2002-12-06 12:05 ` Eric De La Cruz Lugo
  2002-12-06 14:03 ` Eric De La Cruz Lugo
  1 sibling, 0 replies; 14+ messages in thread
From: Eric De La Cruz Lugo @ 2002-12-06 12:05 UTC (permalink / raw)
  To: Harig, Mark A., cygwin


--- "Harig, Mark A." <maharig@idirect.net> wrote:
> What are the ownership/permissions for '/var'?  That
> is,
> 
>    ls -ld /var
> 
drwxrwxrwx     6  Administ   Ninguno           0 Apr
12 2002  /var


drwxrwxrwx     3  asuncion   Ninguno           0 Apr
12 2002  /var/cron

drwxrwxrwx     2  asuncion   Ninguno           0 Dec 6
13:04  /var/cron/tabs

-rw-r-----     1  asuncion   SYSTEM            234 Dec
6 13:04  /var/cron/tabs/asuncion1



(Ninguno = None) (sorry is windows 2k in spanish.)


Eric De La Cruz Lugo
Merida Yucatan Mexico

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.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] 14+ messages in thread

* RE: cron problem in W2K Proffesional
@ 2002-12-06 12:04 Harig, Mark A.
  2002-12-06 12:05 ` Eric De La Cruz Lugo
  2002-12-06 14:03 ` Eric De La Cruz Lugo
  0 siblings, 2 replies; 14+ messages in thread
From: Harig, Mark A. @ 2002-12-06 12:04 UTC (permalink / raw)
  To: Eric De La Cruz Lugo, cygwin

What are the ownership/permissions for '/var'?  That is,

   ls -ld /var

> -----Original Message-----
> From: Eric De La Cruz Lugo [mailto:eric_delacruz@yahoo.com]
> Sent: Friday, December 06, 2002 2:09 PM
> To: cygwin@cygwin.com
> Subject: RE: cron problem in W2K Proffesional
> 
> 
> >1. Have you read /usr/doc/Cygwin/cron.README?
> 
> Yes.
> 
> >2. Have you tried using a simple crontab entry?
> >   What have you tried?
> 
> yes i am using now the following example:
> crontab -e
> 
> * * * * * /usr/bin/date >> /tmp/date.txt
> 
> "as you suggested to Buck Turgidson"
> 
> but there is nothing yet in /tmp/ (6 minutes waiting)
> 
> yes the /tmp directory has the 777 permissions
> 
> thanks for your hints!
> 
> 
> >For future reference, please include >your
> 'cygcheck.txt'
> >file as an attachment only.
> 
> Ok, I will.
> 
> Eric De La Cruz Lugo
> Merida Yucatan Mexico.
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.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/
> 
> 

--
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] 14+ messages in thread

* RE: cron problem in W2K Proffesional
@ 2002-12-06 11:21 Eric De La Cruz Lugo
  0 siblings, 0 replies; 14+ messages in thread
From: Eric De La Cruz Lugo @ 2002-12-06 11:21 UTC (permalink / raw)
  To: cygwin

>1. Have you read /usr/doc/Cygwin/cron.README?

Yes.

>2. Have you tried using a simple crontab entry?
>   What have you tried?

yes i am using now the following example:
crontab -e

* * * * * /usr/bin/date >> /tmp/date.txt

"as you suggested to Buck Turgidson"

but there is nothing yet in /tmp/ (6 minutes waiting)

yes the /tmp directory has the 777 permissions

thanks for your hints!


>For future reference, please include >your
'cygcheck.txt'
>file as an attachment only.

Ok, I will.

Eric De La Cruz Lugo
Merida Yucatan Mexico.


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.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] 14+ messages in thread

* RE: cron problem in W2K Proffesional
@ 2002-12-06 11:02 Harig, Mark A.
  0 siblings, 0 replies; 14+ messages in thread
From: Harig, Mark A. @ 2002-12-06 11:02 UTC (permalink / raw)
  To: Eric De La Cruz Lugo, cygwin

1. Have you read /usr/doc/Cygwin/cron.README?

2. Have you tried using a simple crontab entry?
   What have you tried?

For future reference, please include your 'cygcheck.txt'
file as an attachment only.

> 
> Just for the record, i have done the following:
> 
> cygrunsrv -E cron
> cygrunsrv -R cron
> cygrunsrv -I cron -p /usr/sbin/cron -a -D -e
> "CYGWIN=tty ntsec"
> cygrunsrv -S cron
> 
> Here is my new output too.

--
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] 14+ messages in thread

end of thread, other threads:[~2002-12-10  0:59 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-06  8:51 cron problem in W2K Proffesional Eric De La Cruz Lugo
2002-12-06  9:07 ` Christopher Faylor
2002-12-06 11:02 Harig, Mark A.
2002-12-06 11:21 Eric De La Cruz Lugo
2002-12-06 12:04 Harig, Mark A.
2002-12-06 12:05 ` Eric De La Cruz Lugo
2002-12-06 14:03 ` Eric De La Cruz Lugo
2002-12-06 13:24 Harig, Mark A.
2002-12-06 13:30 Harig, Mark A.
2002-12-06 15:14 Harig, Mark A.
2002-12-06 15:52 ` Eric De La Cruz Lugo
2002-12-06 16:07 Harig, Mark A.
2002-12-06 20:53 ` Eric De La Cruz Lugo
2002-12-09 17:10   ` Andrew DeFaria

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).