* Cron Won't Run Jobs
@ 2002-12-05 6:01 Buck Turgidson
0 siblings, 0 replies; 7+ messages in thread
From: Buck Turgidson @ 2002-12-05 6:01 UTC (permalink / raw)
To: cygwin
I installed CYGWIN yesterday, and am having trouble getting cron to work.
My cron job, set to run every minute, does not execute.
I have read through the archives, and below is relevant data.
I would appreciate any advice on what to try next
chmod 1777 /var/cron
chmod 1777 /var/cron/tabs
cygrunsrv -E cron
cygrunsrv -R cron
cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec"
cygrunsrv -S cron
This is what the process list looks like:
/var/cron > ps -ef
UID PID PPID TTY STIME COMMAND
buck 395 1 con 08:36:06 /usr/bin/bash
SYSTEM 392 1 ? 08:40:54 /usr/bin/cygrunsrv
SYSTEM 350 392 ? 08:40:54 /usr/sbin/cron
buck 63 395 con 08:48:11 /usr/bin/ps
This is /etc/group
/var/cron > cat /etc/group
SYSTEM:S-1-5-18:18:
None:S-1-5-21-926890155-1422859606-844764980-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Power Users:S-1-5-32-547:547:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
/var/cron >
This is my cronjob
/var/cron > crontab -l
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.312 installed on Thu Dec 5 08:39:21 2002)
# (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 17:09:55 corinna Exp $)
*/1 * * * * monsql
/var/cron >
--
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] 7+ messages in thread
* RE: Cron Won't Run Jobs
@ 2002-12-05 6:29 Vince Hoffman
2002-12-05 6:39 ` Buck Turgidson
0 siblings, 1 reply; 7+ messages in thread
From: Vince Hoffman @ 2002-12-05 6:29 UTC (permalink / raw)
To: 'Buck Turgidson', cygwin
Moer info would be good. (cygcheck as an attachment is always a good start
:)
does monsql pop up a window ? (services that interact with the desktop need
spacial permission)
try adding a line like
* * * * * /usr/bin/touch /tmp/crond_running
to your crontab and see if that works,
> -----Original Message-----
> From: Buck Turgidson [mailto:jc_va@hotmail.com]
> Sent: 05 December 2002 13:51
> To: cygwin@cygwin.com
> Subject: Cron Won't Run Jobs
>
>
> I installed CYGWIN yesterday, and am having trouble getting
> cron to work.
> My cron job, set to run every minute, does not execute.
>
> I have read through the archives, and below is relevant data.
>
> I would appreciate any advice on what to try next
>
>
> chmod 1777 /var/cron
> chmod 1777 /var/cron/tabs
>
> cygrunsrv -E cron
> cygrunsrv -R cron
> cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec"
> cygrunsrv -S cron
>
>
> This is what the process list looks like:
>
> /var/cron > ps -ef
> UID PID PPID TTY STIME COMMAND
> buck 395 1 con 08:36:06 /usr/bin/bash
> SYSTEM 392 1 ? 08:40:54 /usr/bin/cygrunsrv
> SYSTEM 350 392 ? 08:40:54 /usr/sbin/cron
> buck 63 395 con 08:48:11 /usr/bin/ps
>
>
> This is /etc/group
>
> /var/cron > cat /etc/group
> SYSTEM:S-1-5-18:18:
> None:S-1-5-21-926890155-1422859606-844764980-513:513:
> Administrators:S-1-5-32-544:544:
> Backup Operators:S-1-5-32-551:551:
> Guests:S-1-5-32-546:546:
> Power Users:S-1-5-32-547:547:
> Replicator:S-1-5-32-552:552:
> Users:S-1-5-32-545:545:
> /var/cron >
>
>
>
> This is my cronjob
>
> /var/cron > crontab -l
> # DO NOT EDIT THIS FILE - edit the master and reinstall.
> # (/tmp/crontab.312 installed on Thu Dec 5 08:39:21 2002)
> # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 17:09:55
> corinna Exp $)
> */1 * * * * monsql
> /var/cron >
>
>
>
>
> --
> 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] 7+ messages in thread
* Re: Cron Won't Run Jobs
2002-12-05 6:29 Vince Hoffman
@ 2002-12-05 6:39 ` Buck Turgidson
0 siblings, 0 replies; 7+ messages in thread
From: Buck Turgidson @ 2002-12-05 6:39 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 2875 bytes --]
I have the following line in monsql, and I don't see it, unless I run it
manually:
echo "Monsql executed on $(date)" >> /tmp/cron.log
Here is the output from cygcheck -sv
----- Original Message -----
From: "Vince Hoffman" <Vince.Hoffman@uk.circle.com>
To: "'Buck Turgidson'" <jc_va@hotmail.com>; <cygwin@cygwin.com>
Sent: Thursday, December 05, 2002 9:05 AM
Subject: RE: Cron Won't Run Jobs
> Moer info would be good. (cygcheck as an attachment is always a good start
> :)
> does monsql pop up a window ? (services that interact with the desktop
need
> spacial permission)
> try adding a line like
> * * * * * /usr/bin/touch /tmp/crond_running
> to your crontab and see if that works,
>
> > -----Original Message-----
> > From: Buck Turgidson [mailto:jc_va@hotmail.com]
> > Sent: 05 December 2002 13:51
> > To: cygwin@cygwin.com
> > Subject: Cron Won't Run Jobs
> >
> >
> > I installed CYGWIN yesterday, and am having trouble getting
> > cron to work.
> > My cron job, set to run every minute, does not execute.
> >
> > I have read through the archives, and below is relevant data.
> >
> > I would appreciate any advice on what to try next
> >
> >
> > chmod 1777 /var/cron
> > chmod 1777 /var/cron/tabs
> >
> > cygrunsrv -E cron
> > cygrunsrv -R cron
> > cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec"
> > cygrunsrv -S cron
> >
> >
> > This is what the process list looks like:
> >
> > /var/cron > ps -ef
> > UID PID PPID TTY STIME COMMAND
> > buck 395 1 con 08:36:06 /usr/bin/bash
> > SYSTEM 392 1 ? 08:40:54 /usr/bin/cygrunsrv
> > SYSTEM 350 392 ? 08:40:54 /usr/sbin/cron
> > buck 63 395 con 08:48:11 /usr/bin/ps
> >
> >
> > This is /etc/group
> >
> > /var/cron > cat /etc/group
> > SYSTEM:S-1-5-18:18:
> > None:S-1-5-21-926890155-1422859606-844764980-513:513:
> > Administrators:S-1-5-32-544:544:
> > Backup Operators:S-1-5-32-551:551:
> > Guests:S-1-5-32-546:546:
> > Power Users:S-1-5-32-547:547:
> > Replicator:S-1-5-32-552:552:
> > Users:S-1-5-32-545:545:
> > /var/cron >
> >
> >
> >
> > This is my cronjob
> >
> > /var/cron > crontab -l
> > # DO NOT EDIT THIS FILE - edit the master and reinstall.
> > # (/tmp/crontab.312 installed on Thu Dec 5 08:39:21 2002)
> > # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 17:09:55
> > corinna Exp $)
> > */1 * * * * monsql
> > /var/cron >
> >
> >
> >
> >
> > --
> > 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/
>
[-- Attachment #2: cygcheck.txt --]
[-- Type: text/plain, Size: 19137 bytes --]
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Thu Dec 05 09:31:50 2002
Windows NT Ver 4.0 Build 1381 Service Pack 6
Path: d:\cygwin\usr\local\bin
d:\cygwin\bin
d:\cygwin\bin
d:\Perl\bin\
d:\Program Files\Oracle\jre\1.1.7\bin
c:\WINNT40\system32
c:\WINNT40
d:\ORANT
d:\PROGRA~1\MICROS~1\Office
d:\jdk1.2.2\bin
d:\borland\bcc55\bin
d:\vslick5\win
d:\ORANT\BIN
d:\IRMAWIN
.
SysDir: C:\WINNT40\System32
WinDir: C:\WINNT40
HOME = `d:\cygwin\home\buck'
MAKE_MODE = `unix'
PWD = `/home/buck'
USER = `buck'
!EXITCODE = `00000000'
COMPUTERNAME = `4P-055'
COMSPEC = `C:\WINNT40\System32\CMD.exe'
DIRCMD = `/O:D /X'
HOMEDRIVE = `H:'
HOMEPATH = `\'
HOMESHARE = `\\bizuser\buck'
LOGONSERVER = `\\WINS1'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/var/cron'
ORACLE_HOME = `D:\ORANT'
OS2LIBPATH = `C:\WINNT40\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0703'
PROMPT = `$P$G'
PS1 = `$PWD > '
ROOTDIR = `c:/mks'
SHLVL = `1'
SMS_LOCAL_DIR = `C:\WINNT40'
SQLPATH = `h:/dev/sql'
SQRBIN = `Q:\PS8\BRIO\ORA\BINW'
SQRDIR = `Q:\ps8\bin\sqrps\sqr\ora\BINW\sqrw.exe'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT40'
TEMP = `d:\TEMP'
TERM = `cygwin'
TEXMF = `{/usr/share/lilypond/1.6.5,/usr/share/texmf}'
TMPDIR = `d:\PSTEMP'
USERDOMAIN = `BIZNET-01'
USERNAME = `buck'
USERPROFILE = `C:\WINNT40\Profiles\buck'
WINDIR = `C:\WINNT40'
_ = `/usr/bin/cygcheck'
Use `-r' to scan registry
a: fd N/A N/A
c: hd FAT 2666Mb 79% CP UN WIN NT
d: hd NTFS 10275Mb 48% CP CS UN PA FC data
e: cd N/A N/A
f: net NTFS 104201Mb 97% CP CS UN PA FC biz2rest
g: net NTFS 104201Mb 97% CP CS UN PA FC biz2rest
h: net NTFS 104185Mb 95% CP CS UN PA FC biz1rest
i: net NTFS 104185Mb 95% CP CS UN PA FC biz1rest
j: net NTFS 10275Mb 48% CP CS UN PA FC data
m: net NTFS 4102Mb 65% CP CS UN PA FC
p: net NTFS 104201Mb 97% CP CS UN PA FC biz2rest
q: net NTFS 34718Mb 22% CP CS UN PA FC
x: net NTFS 10275Mb 48% CP CS UN PA FC data
d:\cygwin / system binmode
d:\cygwin/bin /usr/bin system binmode
d:\cygwin/lib /usr/lib system binmode
. /cygdrive user binmode,cygdrive
Found: d:\cygwin\bin\bash.exe
Found: d:\cygwin\bin\cat.exe
Found: d:\cygwin\bin\cpp.exe
Found: d:\cygwin\bin\find.exe
Found: d:\cygwin\bin\gcc.exe
Found: d:\cygwin\bin\gdb.exe
Found: d:\cygwin\bin\ld.exe
Found: d:\cygwin\bin\ls.exe
Found: d:\cygwin\bin\make.exe
Found: d:\borland\bcc55\bin\make.exe
Warning: d:\cygwin\bin\make.exe hides d:\borland\bcc55\bin\make.exe
Found: d:\cygwin\bin\sh.exe
58k 2002/05/07 d:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2002/5/7 2:33
54k 2002/01/27 d:\cygwin\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
"cygbz21.0.dll" v0.0 ts=2002/1/26 20:07
6k 2002/06/24 d:\cygwin\bin\cygcharset-1.dll - os=4.0 img=1.0 sys=4.0
"cygcharset-1.dll" v0.0 ts=2002/6/24 14:23
643k 2002/11/09 d:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto.dll" v0.0 ts=2002/11/9 4:56
493k 2002/11/19 d:\cygwin\bin\cygcurl-2.dll - os=4.0 img=1.0 sys=4.0
"cygcurl-2.dll" v0.0 ts=2002/11/19 9:38
136k 2002/10/17 d:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
"cygexpat-0.dll" v0.0 ts=2002/10/17 11:21
50k 2002/03/17 d:\cygwin\bin\cygexslt-0.dll - os=4.0 img=1.0 sys=4.0
"cygexslt-0.dll" v0.0 ts=2002/3/17 1:24
45k 2001/04/25 d:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001/4/25 1:28
35k 2002/01/09 d:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
"cygform6.dll" v0.0 ts=2002/1/9 1:03
19k 2002/02/20 d:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2002/2/19 22:05
490k 2002/09/21 d:\cygwin\bin\cygguile-12.dll - os=4.0 img=1.0 sys=4.0
"cygguile-12.dll" v0.0 ts=2002/9/21 6:01
488k 2002/07/18 d:\cygwin\bin\cygguile-14.dll - os=4.0 img=1.0 sys=4.0
"cygguile-14.dll" v0.0 ts=2002/7/18 6:35
63k 2002/07/18 d:\cygwin\bin\cygguile-srfi-srfi-13-14-1.dll - os=4.0 img=1.0 sys=4.0
"cygguile-srfi-srfi-13-14-1.dll" v0.0 ts=2002/7/18 6:35
63k 2002/09/21 d:\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=2002/9/21 6:01
24k 2002/07/18 d:\cygwin\bin\cygguile-srfi-srfi-4-1.dll - os=4.0 img=1.0 sys=4.0
"cygguile-srfi-srfi-4-1.dll" v0.0 ts=2002/7/18 6:35
24k 2002/09/21 d:\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=2002/9/21 6:01
14k 2002/07/18 d:\cygwin\bin\cygguilereadline-14.dll - os=4.0 img=1.0 sys=4.0
"cygguilereadline-14.dll" v0.0 ts=2002/7/18 6:35
14k 2002/09/21 d:\cygwin\bin\cygguilereadline-v-12-12.dll - os=4.0 img=1.0 sys=4.0
"cygguilereadline-v-12-12.dll" v0.0 ts=2002/9/21 6:01
17k 2001/06/28 d:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001/1/6 23:34
20k 2002/10/10 d:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2002/10/10 13:28
306k 2002/04/27 d:\cygwin\bin\cyghttpd.dll - os=4.0 img=1.0 sys=4.0
"cyghttpd.dll" v0.0 ts=2002/4/27 9:23
929k 2002/06/24 d:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2002/6/24 14:24
22k 2001/12/13 d:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 4:28
28k 2002/09/20 d:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2002/9/19 23:13
21k 2001/06/20 d:\cygwin\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
"cygintl.dll" v0.0 ts=2001/6/20 13:09
81k 2000/12/05 d:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
"cygitcl30.dll" v0.0 ts=2000/11/25 20:43
35k 2000/12/05 d:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
"cygitk30.dll" v0.0 ts=2000/11/25 20:43
59k 2002/09/20 d:\cygwin\bin\cygkpathsea-3-3-7.dll - os=4.0 img=1.0 sys=4.0
"cygkpathsea-3-3-7.dll" v0.0 ts=2002/9/20 10:54
25k 2002/07/16 d:\cygwin\bin\cygltdl-3.dll - os=4.0 img=1.0 sys=4.0
"cygltdl-3.dll" v0.0 ts=2002/7/16 0:05
26k 2001/04/25 d:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001/4/25 1:27
20k 2002/01/09 d:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
"cygmenu6.dll" v0.0 ts=2002/1/9 1:03
156k 2001/04/25 d:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001/4/25 1:29
175k 2002/01/09 d:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++6.dll" v0.0 ts=2002/1/9 1:03
226k 2001/04/25 d:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001/4/25 1:17
202k 2002/01/09 d:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses6.dll" v0.0 ts=2002/1/9 1:03
15k 2001/04/25 d:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001/4/25 1:27
12k 2002/01/09 d:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
"cygpanel6.dll" v0.0 ts=2002/1/9 1:03
40k 2001/11/21 d:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
"cygpcre.dll" v0.0 ts=2001/11/21 17:15
39k 2001/11/21 d:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix.dll" v0.0 ts=2001/11/21 17:15
179k 2002/07/22 d:\cygwin\bin\cygpng12.dll - os=4.0 img=1.0 sys=4.0
"cygpng12.dll" v0.0 ts=2002/7/22 12:03
22k 2002/06/09 d:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
"cygpopt-0.dll" v0.0 ts=2002/6/9 1:45
108k 2001/06/28 d:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001/1/6 23:34
127k 2002/10/10 d:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2002/10/10 13:28
169k 2002/11/09 d:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
"cygssl.dll" v0.0 ts=2002/11/9 4:56
390k 2000/12/05 d:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
"cygtcl80.dll" v0.0 ts=2000/11/25 20:39
5k 2000/12/05 d:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
10k 2000/12/05 d:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
"cygtclreg80.dll" v0.0 ts=2000/11/25 20:39
623k 2000/12/05 d:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
"cygtk80.dll" v0.0 ts=2000/11/25 20:43
25k 2002/07/14 d:\cygwin\bin\cygungif-4.dll - os=4.0 img=1.0 sys=4.0
"cygungif-4.dll" v0.0 ts=2002/7/14 10:58
2689k 2002/11/16 d:\cygwin\bin\cygxerces-c21.dll - os=4.0 img=1.0 sys=4.0
"cygxerces-c21.dll" v0.0 ts=2002/11/15 23:07
633k 2002/07/22 d:\cygwin\bin\cygxml2-2.dll - os=4.0 img=1.0 sys=4.0
"cygxml2-2.dll" v0.0 ts=2002/7/22 2:29
152k 2002/03/17 d:\cygwin\bin\cygxslt-1.dll - os=4.0 img=1.0 sys=4.0
"cygxslt-1.dll" v0.0 ts=2002/3/17 1:19
15k 2002/03/17 d:\cygwin\bin\cygxsltbreakpoint-1.dll - os=4.0 img=1.0 sys=4.0
"cygxsltbreakpoint-1.dll" v0.0 ts=2002/3/17 1:24
50k 2002/03/12 d:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2002/3/11 23:38
923k 2002/11/27 d:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2002/11/27 18:54
Cygwin DLL version info:
DLL version: 1.3.17
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 67
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: Wed Nov 27 18:54:29 EST 2002
Shared id: cygwin1S3
Cygwin Package Information
Last downloaded files to: C:\WINNT40\Profiles\buck\Desktop
Last downloaded files from: ftp://csociety-ftp.ecn.purdue.edu/pub/cygwin
Package Version
ELFIO 1.0.0-1
_update-info-dir 00096-1
agetty 2.1-1
apache 1.3.24-5
ash 20020731-1
astyle 1.15.3-3
autoconf 2.54-1
autoconf-devel 2.54-1
autoconf-stable 2.13-4
automake 1.7.1-1
automake-devel 1.7.1-1
automake-stable 1.4p5-5
base-files 1.1-1
base-passwd 1.0-1
bash 2.05b-8
bc 1.06-1
binutils 20021117-1
bison 1.75-1
byacc 1.9-1
bzip2 1.0.2-2
ccache 1.9-1
clear 1.0-1
cmake 1.4.6-1
compface 1.4-5
cpio 2.4.2
cron 3.0.1-7
crypt 1.0-1
ctags 5.2-1
curl 7.10.2-1
curl-devel 7.10.2-1
cvs 1.11.0-1
cygrunsrv 0.95-1
cygutils 1.1.3-1
cygwin 1.3.17-1
cygwin-doc 1.2-1
dejagnu 20010117-1
diff 1.0-1
diffutils 2.8.1-1
doxygen 1.2.18-1
dpkg 1.10.4-2
enscript 1.6.3-3
exim 4.10-2
expat 1.95.5-1
expect 20010117-1
fetchmail 6.1.2-1
figlet 2.2-1
file 3.37-1
fileutils 4.1-1
findutils 4.1.7-4
flex 2.5.4-2
gawk 3.1.1-5
gcc 3.2-3
gcc-mingw 3.2-20020817-1
gcc2 2.95.3-10
gdb 20010428-3
gdbm 1.8.0-4
gettext 0.11.5-1
gettext-devel 0.11.5-1
ghostscript 7.05-2
ghostscript-base 7.05-2
ghostscript-x11 7.05-1
gnupg 1.2.1-1
gperf 0.0
grep 2.5-1
groff 1.17.2-1
gsl 1.1.1-1
guile 1.6.0-1
guile-devel 1.6.0-1
guile-doc 1.6.0-1
gzip 1.3.3-4
indent 2.2.8-1
inetutils 1.3.2-19
initscripts 0.9-1
irc 20010101-1
keychain 1.9-1
less 374-1
libbz2_0 1.0.2-1
libbz2_1 1.0.2-2
libcharset1 1.8-2
libguile12 1.6.0-1
libguile14 1.5.6-5
libiconv 1.8-2
libiconv2 1.8-2
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.11.5-1
libkpathsea3 20020911-1
libltdl3 20020705-2
libncurses5 5.2-1
libncurses6 5.2-8
libpng12 1.2.4-2
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-2
libtool 20020705-1
libtool-devel 20020705-2
libtool-stable 1.4.3-1
libungif 4.1.0-2
libxerces-c21 2.1.0-1
libxml2 2.4.23-1
libxslt 1.0.13-1
lilypond 1.6.5-1
lilypond-doc 1.6.5-1
links 0.96-1
login 1.7-1
lynx 2.8.4-1
m4 0.0
make 3.79.1-7
man 1.5g-2
mingw-runtime 2.2-1
mktemp 1.4-1
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-1
mod_ssl 2.8.8-1.3.24-1
more 2.11o-1
mt 2.0.1-1
mutt 1.4-1
ncftp 3.1.4-1
ncurses 5.2-8
newlib-man 20020801
openssh 3.5p1-2
openssl 0.9.6g-2
openssl-devel 0.9.6g-2
patch 2.5-3
pcre 3.7-1
perl 5.6.1-2
pine 4.44-4
pinfo 0.6.6p1-1
pkgconfig 0.12.0-1
popt 1.6.4-4
procmail 3.22-7
procps 010801-2
python 2.2.2-1
rcs 5.7-3
readline 4.3-2
rsync 2.5.5-2
rxvt 2.7.9-2
sed 4.0.1-1
sh-utils 2.0-2
sharutils 4.2.1-2
shutdown 1.2-2
squid 2.4.STABLE7-1
ssmtp 2.38.7-3
swig 1.3.16-1
sysvinit 2.84-2
tar 1.13.25-1
tcltk 20001125-1
tcp_wrappers 7.6-1
tcsh 6.11.00-5
termcap 20020930-1
terminfo 5.2-3
tetex 20020911-1
tetex-base 20020911-1
tetex-beta 20020911-1
tetex-bin 20020911-1
tetex-devel 20020911-1
tetex-doc 20020911-1
tetex-extra 20020911-1
tetex-tiny 20020911-1
tetex-x11 20020911-1
texinfo 4.2-4
texmf 20020911-1
texmf-base 20020911-1
texmf-doc 20020911-1
texmf-extra 20020911-1
texmf-tiny 20020911-1
textutils 2.0.21-1
tidy 020822-1
time 1.7-1
ttcp 19980512-1
ucl 1.01-1
units 1.77-1
unzip 5.50-1
upx 1.21-1
vim 6.1-2
w32api 2.1-1
wget 1.8.2-1
which 1.5-1
whois 4.5.17-1
xerces-c 2.1.0-1
xerces-c-devel 2.1.0-1
xerces-c-doc 2.1.0-1
zip 2.3-2
zlib 1.1.4-1
zsh 4.0.6-2
Use -h to see help about each section
[-- Attachment #3: 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] 7+ messages in thread
* RE: Cron Won't Run Jobs
@ 2002-12-06 8:21 Harig, Mark A.
2002-12-06 10:19 ` Buck Turgidson
0 siblings, 1 reply; 7+ messages in thread
From: Harig, Mark A. @ 2002-12-06 8:21 UTC (permalink / raw)
To: Buck Turgidson, cygwin
What is the output of 'ls -ln /var/cron/tab/buck'?
'buck' needs to have its 'group' ownership set to SYSTEM,
and SYSTEM needs to have its value set to 18.
> -----Original Message-----
> From: Buck Turgidson [mailto:jc_va@hotmail.com]
> Sent: Thursday, December 05, 2002 9:34 AM
> To: cygwin@cygwin.com
> Subject: Re: Cron Won't Run Jobs
>
>
> I have the following line in monsql, and I don't see it,
> unless I run it
> manually:
>
> echo "Monsql executed on $(date)" >> /tmp/cron.log
>
> Here is the output from cygcheck -sv
>
>
>
>
>
> ----- Original Message -----
> From: "Vince Hoffman" <Vince.Hoffman@uk.circle.com>
> To: "'Buck Turgidson'" <jc_va@hotmail.com>; <cygwin@cygwin.com>
> Sent: Thursday, December 05, 2002 9:05 AM
> Subject: RE: Cron Won't Run Jobs
>
>
> > Moer info would be good. (cygcheck as an attachment is
> always a good start
> > :)
> > does monsql pop up a window ? (services that interact with
> the desktop
> need
> > spacial permission)
> > try adding a line like
> > * * * * * /usr/bin/touch /tmp/crond_running
> > to your crontab and see if that works,
> >
> > > -----Original Message-----
> > > From: Buck Turgidson [mailto:jc_va@hotmail.com]
> > > Sent: 05 December 2002 13:51
> > > To: cygwin@cygwin.com
> > > Subject: Cron Won't Run Jobs
> > >
> > >
> > > I installed CYGWIN yesterday, and am having trouble getting
> > > cron to work.
> > > My cron job, set to run every minute, does not execute.
> > >
> > > I have read through the archives, and below is relevant data.
> > >
> > > I would appreciate any advice on what to try next
> > >
> > >
> > > chmod 1777 /var/cron
> > > chmod 1777 /var/cron/tabs
> > >
> > > cygrunsrv -E cron
> > > cygrunsrv -R cron
> > > cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec"
> > > cygrunsrv -S cron
> > >
> > >
> > > This is what the process list looks like:
> > >
> > > /var/cron > ps -ef
> > > UID PID PPID TTY STIME COMMAND
> > > buck 395 1 con 08:36:06 /usr/bin/bash
> > > SYSTEM 392 1 ? 08:40:54 /usr/bin/cygrunsrv
> > > SYSTEM 350 392 ? 08:40:54 /usr/sbin/cron
> > > buck 63 395 con 08:48:11 /usr/bin/ps
> > >
> > >
> > > This is /etc/group
> > >
> > > /var/cron > cat /etc/group
> > > SYSTEM:S-1-5-18:18:
> > > None:S-1-5-21-926890155-1422859606-844764980-513:513:
> > > Administrators:S-1-5-32-544:544:
> > > Backup Operators:S-1-5-32-551:551:
> > > Guests:S-1-5-32-546:546:
> > > Power Users:S-1-5-32-547:547:
> > > Replicator:S-1-5-32-552:552:
> > > Users:S-1-5-32-545:545:
> > > /var/cron >
> > >
> > >
> > >
> > > This is my cronjob
> > >
> > > /var/cron > crontab -l
> > > # DO NOT EDIT THIS FILE - edit the master and reinstall.
> > > # (/tmp/crontab.312 installed on Thu Dec 5 08:39:21 2002)
> > > # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 17:09:55
> > > corinna Exp $)
> > > */1 * * * * monsql
> > > /var/cron >
> > >
> > >
> > >
> > >
> > > --
> > > 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/
> >
>
--
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] 7+ messages in thread
* Re: Cron Won't Run Jobs
2002-12-06 8:21 Harig, Mark A.
@ 2002-12-06 10:19 ` Buck Turgidson
0 siblings, 0 replies; 7+ messages in thread
From: Buck Turgidson @ 2002-12-06 10:19 UTC (permalink / raw)
To: cygwin; +Cc: maharig
I am not sure how to interpret this, but if you can tell me what I need to
change, I'd appreciate it. This is getting me pretty frustrated...
-rw-r----- 1 400 18 211 Dec 5 08:39 /var/cron/tabs/buck
----- Original Message -----
From: "Harig, Mark A." < >
To: "Buck Turgidson" <jc_va@hotmail.com>; <cygwin@cygwin.com>
Sent: Friday, December 06, 2002 10:59 AM
Subject: RE: Cron Won't Run Jobs
What is the output of 'ls -ln /var/cron/tab/buck'?
'buck' needs to have its 'group' ownership set to SYSTEM,
and SYSTEM needs to have its value set to 18.
> -----Original Message-----
> From: Buck Turgidson [mailto:jc_va@hotmail.com]
> Sent: Thursday, December 05, 2002 9:34 AM
> To: cygwin@cygwin.com
> Subject: Re: Cron Won't Run Jobs
>
>
> I have the following line in monsql, and I don't see it,
> unless I run it
> manually:
>
> echo "Monsql executed on $(date)" >> /tmp/cron.log
>
> Here is the output from cygcheck -sv
>
>
>
>
>
> ----- Original Message -----
> From: "Vince Hoffman" <Vince.Hoffman@uk.circle.com>
> To: "'Buck Turgidson'" <jc_va@hotmail.com>; <cygwin@cygwin.com>
> Sent: Thursday, December 05, 2002 9:05 AM
> Subject: RE: Cron Won't Run Jobs
>
>
> > Moer info would be good. (cygcheck as an attachment is
> always a good start
> > :)
> > does monsql pop up a window ? (services that interact with
> the desktop
> need
> > spacial permission)
> > try adding a line like
> > * * * * * /usr/bin/touch /tmp/crond_running
> > to your crontab and see if that works,
> >
> > > -----Original Message-----
> > > From: Buck Turgidson [mailto:jc_va@hotmail.com]
> > > Sent: 05 December 2002 13:51
> > > To: cygwin@cygwin.com
> > > Subject: Cron Won't Run Jobs
> > >
> > >
> > > I installed CYGWIN yesterday, and am having trouble getting
> > > cron to work.
> > > My cron job, set to run every minute, does not execute.
> > >
> > > I have read through the archives, and below is relevant data.
> > >
> > > I would appreciate any advice on what to try next
> > >
> > >
> > > chmod 1777 /var/cron
> > > chmod 1777 /var/cron/tabs
> > >
> > > cygrunsrv -E cron
> > > cygrunsrv -R cron
> > > cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec"
> > > cygrunsrv -S cron
> > >
> > >
> > > This is what the process list looks like:
> > >
> > > /var/cron > ps -ef
> > > UID PID PPID TTY STIME COMMAND
> > > buck 395 1 con 08:36:06 /usr/bin/bash
> > > SYSTEM 392 1 ? 08:40:54 /usr/bin/cygrunsrv
> > > SYSTEM 350 392 ? 08:40:54 /usr/sbin/cron
> > > buck 63 395 con 08:48:11 /usr/bin/ps
> > >
> > >
> > > This is /etc/group
> > >
> > > /var/cron > cat /etc/group
> > > SYSTEM:S-1-5-18:18:
> > > None:S-1-5-21-926890155-1422859606-844764980-513:513:
> > > Administrators:S-1-5-32-544:544:
> > > Backup Operators:S-1-5-32-551:551:
> > > Guests:S-1-5-32-546:546:
> > > Power Users:S-1-5-32-547:547:
> > > Replicator:S-1-5-32-552:552:
> > > Users:S-1-5-32-545:545:
> > > /var/cron >
> > >
> > >
> > >
> > > This is my cronjob
> > >
> > > /var/cron > crontab -l
> > > # DO NOT EDIT THIS FILE - edit the master and reinstall.
> > > # (/tmp/crontab.312 installed on Thu Dec 5 08:39:21 2002)
> > > # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 17:09:55
> > > corinna Exp $)
> > > */1 * * * * monsql
> > > /var/cron >
> > >
> > >
> > >
> > >
> > > --
> > > 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/
> >
>
--
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] 7+ messages in thread
* RE: Cron Won't Run Jobs
@ 2002-12-06 10:55 Harig, Mark A.
0 siblings, 0 replies; 7+ messages in thread
From: Harig, Mark A. @ 2002-12-06 10:55 UTC (permalink / raw)
To: Buck Turgidson, cygwin
>
> I am not sure how to interpret this, but if you can tell me
> what I need to
> change, I'd appreciate it. This is getting me pretty frustrated...
>
> -rw-r----- 1 400 18 211 Dec 5 08:39
> /var/cron/tabs/buck
>
>
The '18' in your output is the group ownership number. As documented
in /usr/doc/Cygwin/cron.README, this needs to be set to '18' (which
should be the group number of SYSTEM in /etc/group). Your crontab's
permissions and ownerships are set correctly.
Try using a simpler crontab entry, for example:
* * * * * /usr/bin/date >> /tmp/date.txt
Delete all other lines in your crontab until you can get this entry
to work.
Make sure that cron has 'write' permission in /tmp, for example:
chmod 777 /tmp
---
--
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] 7+ messages in thread
* RE: Cron Won't Run Jobs
@ 2002-12-06 17:00 Harig, Mark A.
0 siblings, 0 replies; 7+ messages in thread
From: Harig, Mark A. @ 2002-12-06 17:00 UTC (permalink / raw)
To: Buck Turgidson, Eric De La Cruz Lugo, cygwin
[-- Attachment #1: Type: text/plain, Size: 304 bytes --]
Please try running the attached file (a bash shell script).
It attempts to diagnose problems in your directories and
crontab files. It does *not* change any files, but tells
the user of any problems that it finds. If it proves to
be useful, it could be donated to the Cygwin 'cron'
distribution.
[-- Attachment #2: cron_diagnose.sh --]
[-- Type: application/octet-stream, Size: 3602 bytes --]
#!/bin/bash
# ======================================================================
# $Source: $
# $Revision: $
# $Name: $
# $Date: $
# $State: $
# $Author: $
# ======================================================================
check_program()
{
if [ `type $1 > /dev/null 2>&1` ]; then
echo "The '$1' program is missing or not in your PATH."
echo "This program is included in the '$2' package."
echo "Please install this program and run this script again."
return 1
fi
return 0
}
sanity_check()
{
# Check for programs that this script uses.
check_program ls fileutils || return 1
check_program egrep grep || return 1
check_program id sh-utils || return 1
check_program cut textutils || return 1
return 0
}
check_dir()
{
if [ ! -d $1 ]; then
echo "Your computer does not appear to have a $1 directory."
echo "Please investigate this problem, and run this script again."
return 1
fi
if [ `ls -ld $1 | egrep -q 'drwxrwxrxt'` ]; then
echo "The permissions on the directory $1 are not correct."
echo "Please run 'chmod 1777 $1', and run this script again."
return 1
fi
return 0
}
check_cron_table()
{
local user_id=$(id -un)
local cron_table=/var/cron/tabs/$user_id
if [ ! -f $cron_table ]; then
echo "Your computer does not appear to have a crontab for $user_id."
echo "Please generate a crontab for $user_id using 'crontab -e',"
echo "and run this script again."
return 1
fi
if [ `ls -l $cron_table|egrep -q 'rw-r-----'` ]; then
echo "The permissions of your crontab file are set to:"
ls -l $cron_table
echo "They need to be set to read/write for $user_id and"
echo "to read-only for group. You can set these with"
echo " chmod 640 $cron_table"
echo "Please check your crontab's permissions, and run"
echo "this script again."
return 1
fi
if [ `ls -l $cron_table|cut -d" " -f8|egrep -q SYSTEM` ]; then
echo "The group membership of your crontab file should be SYSTEM,"
echo "as documented in the file /usr/doc/Cygwin/cron.README."
echo "You can change this setting with:"
echo " chgrp SYSTEM $cron_table"
echo "Please check your crontab's group membership, and"
echo "run this script again."
return 1
fi
if [ `ls -ln $cron_table|cut -d" " -f8|egrep -q 18` ]; then
echo "The value of SYSTEM in your /etc/group file needs to"
echo "be the reserved number '18', as documented in"
echo "/usr/doc/Cygwin/cron.README. Please investigate this"
echo "and run this script again."
return 1
fi
echo "No errors were found in your crontab setup by this script."
echo "If you are still unable to get cron to work properly, then"
echo "try shutting down the cron service, uninstalling it,"
echo "reinstalling it, and restarting it."
echo
echo "If you are still unable to get cron to run your crontab,"
echo "then report your problem to cygwin@cygwin.com"
echo "Please include a copy of your crontab ('crontab -l') and"
echo "the output of 'cygcheck -srv > cygcheck.txt'. cygcheck.txt"
echo "should be included *as an attachment*, not in the body of"
echo "mail message."
return 0
}
main()
{
sanity_check || return 1
if [ ! -d /var ]; then
echo "Your computer does not appear to have a /var directory."
echo "Please investigate this problem, and run this script again."
return 1
fi
check_dir /var/cron || return 1
check_dir /var/cron/tabs || return 1
check_cron_table || return 1
return 0
}
# Entry point:
main
exit $?
# === End of $RCSfile$ === #
[-- Attachment #3: 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] 7+ messages in thread
end of thread, other threads:[~2002-12-07 0:33 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-05 6:01 Cron Won't Run Jobs Buck Turgidson
2002-12-05 6:29 Vince Hoffman
2002-12-05 6:39 ` Buck Turgidson
2002-12-06 8:21 Harig, Mark A.
2002-12-06 10:19 ` Buck Turgidson
2002-12-06 10:55 Harig, Mark A.
2002-12-06 17:00 Harig, Mark A.
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).