From mboxrd@z Thu Jan 1 00:00:00 1970 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: [ cron/crontab ] someone using cron on cygwin? Date: Fri, 04 May 2001 01:19:00 -0000 Message-id: <20010504101950.U24200@cygbert.vinschen.de> References: <3AF21637.21160.1304FF5F@localhost> X-SW-Source: 2001-05/msg00187.html On Fri, May 04, 2001 at 02:38:47AM +0200, Gerrit P. Haase wrote: > Dear Corinna, > > $ crontab > crontab: can't obtain passwd entry. You don't have a /etc/passwd entry for your user account. crontab tries to get your passwd entry by calling struct passwd *pw = getpwuid (geteuid ()); So check your user id (/bin/id) and add an entry for your user id to /etc/passwd. Or, even better, call mkpasswd to recreate /etc/passwd. > I don't know how to use crontab. > > Is it possible to create a crontabfile manually? > How is the syntax? As in U*X with extensions borrowed by Paul Vixies crontab version used under Linux. But this will not help you since cron needs your password which is asked for by crontab and remembered in a encrypted password file only used by cron and crontab. As soon as you have used crontab for the first time and your password is remembered, you can change your crontab file by yourself if you want. You will find it under /var/cron as "crontab." > There is a manfile: crontab.1 > and one called: crontab.5 > > Which one is called if i type: man crontab? crontab.1 > How to call the other one? man 5 crontab Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Developer mailto:cygwin@cygwin.com Red Hat, Inc. -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple