This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: cron problem in W2K Proffesional
- From: Eric De La Cruz Lugo <eric_delacruz at yahoo dot com>
- To: "Harig, Mark A." <maharig at idirect dot net>, cygwin at cygwin dot com
- Date: Fri, 6 Dec 2002 15:48:38 -0800 (PST)
- Subject: RE: cron problem in W2K Proffesional
--- "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/