This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem with installing crontab on Cygwin(1.5.11/1005.11.0.0)/WinXP SP2


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]