www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <BAY105-F3242C932FCD4D351673DE0E92E0@phx.gbl> |
X-Sender: | linq936 AT hotmail DOT com |
In-Reply-To: | <43B477D9.A8084B7@dessent.net> |
From: | "lin q" <linq936 AT hotmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Help : can not get cron work |
Date: | Wed, 04 Jan 2006 18:50:10 -0700 |
Mime-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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 |
Hi, I just installed a brand new cygwin on my WinXP machine, but I can not get cron work for me. Here is how I did it: 1) "cygrunsrv -I cron -p /usr/sbin/cron -a –D" 2) "crontab -e" to edit the crontab file, here is the dump out, $ crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.2836 installed on Wed Jan 4 10:14:53 2006) # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $) 16 10 * * * linq rsync -azv emperor:/dev/tools/* /cygdrive/c/bin/tools 3) "cygrunsrv –S cron" If I go to "start" -->"Administritive tools" -->"service", I can see that cron is started. I tried that command in crontab, "rsync -azv emperor:/dev/tools/* /cygdrive/c/bin/tools", it works fine if i run it on shell manually. Any suggestion is highly appreciated. _________________________________________________________________ FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |