This is the mail archive of the cygwin@cygwin.com 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: crontab error


Chuck,

For the future:

On Fri, 23 May 2003, I wrote:

> Are your /etc/passwd and /etc/group files up to date?  The output of
> "cygcheck -svr" (*attached*, as per <http://cygwin.com/problems.html>)
                   ^^^^^^^^^^
> should show whether this is the case.

FYI, the output of cygcheck included as plain text produces a lot of false
positives for people searching the archives.  That's why we ask people to
*attach* the cygcheck output.
	Igor

On Fri, 23 May 2003, Chuck Hamilton wrote:

> Here is the output from cyhcheck -svr:
>
> $ cygcheck -svr
> [output of cygcheck snipped]
>
> ----- Original Message -----
> From: "Igor Pechtchanski" <pechtcha@cs.nyu.edu>
> To: "Chuck Hamilton" <chuckh@softhome.net>
> Cc: <cygwin@cygwin.com>
> Sent: Friday, May 23, 2003 9:00 AM
> Subject: Re: crontab error
>
> > Chuck,
> >
> > Are your /etc/passwd and /etc/group files up to date?  The output of
> > "cygcheck -svr" (*attached*, as per <http://cygwin.com/problems.html>)
> > should show whether this is the case.
> > Igor
> >
> > On Fri, 23 May 2003, Chuck Hamilton wrote:
> >
> > > Didn't even know I was addressing a mailing list. I posted originally to
> a
> > > newsgroup. Anyway, here's the output.
> > >
> > > $ crontab -l
> > > no crontab for isscha
> > >
> > > As I said in a previous post I haven't been able to create a crontab.
> When I
> > > try I get a permissions error. See below.
> > >
> > > $ cat /tmp/crontab.1448
> > > 50 8 * * * ~isscha/bin/test.sh
> > >
> > > $ crontab /tmp/crontab.1448
> > > chown: Invalid argument
> > > $
> > >
> > >
> > > ----- Original Message -----
> > > From: Harig, Mark A.
> > > To: Chuck Hamilton
> > > Cc: cygwin@cygwin.com
> > > Sent: Wednesday, May 21, 2003 3:43 PM
> > > Subject: RE: crontab error
> > >
> > >
> > > Please address all replies to cygwin@cygwin.com.
> > >
> > > Please send to the mailing list the following as attachments:
> > >
> > > 1. The output of 'crontab -l' ("ell", not "one")
> > >
> > > 2. The output of 'cygcheck -srv > cygcheck.txt'
> > >
> > > This information will help readers of the mailing list to
> > > diagnose the problem that you are having.
> > > -----Original Message-----
> > > From: Chuck Hamilton [mailto:chuckh@softhome.net]
> > > Sent: Wednesday, May 21, 2003 3:13 PM
> > > To: Harig, Mark
> > > Subject: Re: crontab error
> > >
> > >
> > > Here's what I get...
> > >
> > > Your computer does not appear to have a crontab for isscha.
> > > Please generate a crontab for isscha using 'crontab -e',
> > > and run this script again.
> > >
> > > So I again try to generate a crontab with just a comment line in it and
> get
> > > this...
> > >
> > > $ crontab -e
> > > crontab: installing new crontab
> > > chown: Invalid argument
> > > crontab: edits left in /tmp/crontab.1660
> > >
> > >
> > > ----- Original Message -----
> > > From: "Harig, Mark A." <maharig@idirect.net>
> > > To: "Chuck" <chuckh@softhome.net>; <cygwin@cygwin.com>
> > > Sent: Wednesday, May 21, 2003 12:06 PM
> > > Subject: RE: crontab error
> > >
> > >
> > > Please run the attached script.
> > > It will check some file permissions
> > > and other details that need to be
> > > set up properly in order for cron to
> > > work.  It does NOT change anything
> > > on your computer, but only diagnoses.
> > > You may need to run it several times
> > > until it completes successfully (it
> > > will stop any time it finds a problem
> > > and report to you what problem needs
> > > to be corrected).
> > >
> > > > -----Original Message-----
> > > > From: Chuck [mailto:chuckh@softhome.net]
> > > > Sent: Wednesday, May 21, 2003 9:27 AM
> > > > To: cygwin@cygwin.com
> > > > Subject: crontab error
> > > >
> > > >
> > > > I need a little help getting cron to work. My apologies if
> > > > this is answered
> > > > somewhere else but I haven't been able to find it.
> > > >
> > > > I've installed cron as a win2k service using "cygrunsrv -I cron -p
> > > > /usr/sbin/cron -a -D -d "Cygwin cron" -e "CYGWIN=tty ntsec" "
> > > > as suggested
> > > > in another post. When I try to start the service I get "Could
> > > > not start the
> > > > cygwin cron service on local computer. The service did not
> > > > return an error.
> > > > This could be an internal Windows error or an internal service error."
> > > >
> > > > When I try to create a crontab file with "crontab -e" and
> > > > save it I get the
> > > > following error "chown: Invalid argument".
> > > >
> > > > What do I need to do to fix these?

-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


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