| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Message-ID: | <20021206234838.33048.qmail@web21409.mail.yahoo.com> |
| Date: | Fri, 6 Dec 2002 15:48:38 -0800 (PST) |
| From: | Eric De La Cruz Lugo <eric_delacruz AT yahoo DOT com> |
| Subject: | RE: cron problem in W2K Proffesional |
| To: | "Harig, Mark A." <maharig AT idirect DOT net>, cygwin AT cygwin DOT com |
| In-Reply-To: | <BADF3C947A1BD54FBA75C70C241B0B9E7630D9@ex02.idirect.net> |
| MIME-Version: | 1.0 |
--- "Harig, Mark A." <maharig AT idirect DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |