Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Subject: RE: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2 Date: Tue, 2 Nov 2004 18:33:57 -0500 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Harig, Mark" To: "Barry Kelly" , X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iA2NYGOF021097 > > I'm getting the following error when trying to install a > crontab on my account: > > $ crontab -e > # editing my crontab here... > chown: Invalid argument > Please run this diagnostic script. It will attempt to locate many types of common problems with cron on cygwin. http://sources.redhat.com/ml/cygwin/2004-07/msg00207.html Please read the output of the script carefully. If it finds problems, it suggests possible fixes, and it will also recommend steps to take if it is unable to detect any problems For what it is worth, crond is working on both Win2K and WinXP for me. > I've tried updating my passwd (I live on a Win2K server domain) file > in case it was out of date or missing local users (vs domain users), > using > > $ mkpasswd -d -l -g > /etc/passwd > The following commands should give you a simple, and possibly valid, password file: $ mv /etc/passwd /etc/passwd.save $ mkpasswd -l > /etc/passwd $ mkpasswd -d -u [your Windows user ID] >> /etc/passwd You would edit your entry then if you wanted to change your login shell, home directory, group, etc. --- -- 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/