delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/04/21:00:59

X-Spam-Check-By: sourceware.org
Message-ID: <43BC7DCE.744980DA@dessent.net>
Date: Wed, 04 Jan 2006 18:00:46 -0800
From: Brian Dessent <brian AT dessent DOT net>
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Help : can not get cron work
References: <BAY105-F3242C932FCD4D351673DE0E92E0 AT phx DOT gbl>
X-IsSubscribed: yes
Reply-To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id k0520wq0021756

lin q wrote:

>   1) "cygrunsrv -I cron -p /usr/sbin/cron -a –D"

You should run /usr/bin/cron-config, and not try to do this by hand
because there is much more to do than just installing the service.

>             16 10 * * * linq  rsync -azv emperor:/dev/tools/*
> /cygdrive/c/bin/tools

That is not the proper format of a user's crontab line.  There is no
such "username" field as the fifth field in a user's crontab, it should
just be "16 10 * * * rsync ...".  It was trying to execute a command
named "linq" that does not exist, and there should be errors to this
effect in the Windows Event Log.  See "man 5 crontab".

Also realize that if you do not have system-wise mounts and Cygwin in
the PATH the above will not work.  This would have been evident if you
attached the cygcheck output as requested in
<http://cygwin.com/problems.html>.

Brian


--
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/


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019