Re: Cygwin cron

Lists: pgsql-cygwin
From: roypgsqlcygwin(at)xemaps(dot)com
To: pgsql-cygwin(at)postgresql(dot)org
Subject:
Date: 2001-09-21 16:48:47
Message-ID: 200109211649.f8LGnEe59869@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Jason,

Okay, updated my cygwin, but now what? I did a crontab -e and added this line:
* * * * * /usr/bin/date >> /home/myuser/blah.txt

saved and quit

and nothing is happening. I've looked at the user manual and faq for cygwin and also searched google and I can't find a damn thing about it. What am I missing?

BTW, does cygwin itself run as some background application (service) in NT?

Thanx.

Roy.

> -----Original Message-----
> From: Jason Tishler [mailto:jason(at)tishler(dot)net]
>
> Yes, see the following:
>
> http://www.cygwin.com/ml/cygwin-announce/2001/msg00117.html
>
> Jason
>


From: "Russell Black" <rblack(at)iarchives(dot)com>
To: <roypgsqlcygwin(at)xemaps(dot)com>, <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re:
Date: 2001-09-21 17:29:57
Message-ID: 011201c142c3$08f4ee50$0464a8c0@iarchives.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

You need to install cron as a service. This is explained in the cron
readme.

----- Original Message -----
From: <roypgsqlcygwin(at)xemaps(dot)com>
To: <pgsql-cygwin(at)postgresql(dot)org>
Sent: Friday, September 21, 2001 10:48 AM
Subject: [CYGWIN]

> Jason,
>
> Okay, updated my cygwin, but now what? I did a crontab -e and added this
line:
> * * * * * /usr/bin/date >> /home/myuser/blah.txt
>
> saved and quit
>
> and nothing is happening. I've looked at the user manual and faq for
cygwin and also searched google and I can't find a damn thing about it.
What am I missing?
>
> BTW, does cygwin itself run as some background application (service) in
NT?
>
> Thanx.
>
> Roy.
>
> > -----Original Message-----
> > From: Jason Tishler [mailto:jason(at)tishler(dot)net]
> >
> > Yes, see the following:
> >
> > http://www.cygwin.com/ml/cygwin-announce/2001/msg00117.html
> >
> > Jason
> >
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 3: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly


From: Jason Tishler <jason(at)tishler(dot)net>
To: roypgsqlcygwin(at)xemaps(dot)com
Cc: pgsql-cygwin(at)postgresql(dot)org
Subject: Re: Cygwin cron
Date: 2001-09-21 17:37:01
Message-ID: 20010921133701.A1904@dothill.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-cygwin

Roy,

On Fri, Sep 21, 2001 at 12:48:47PM -0400, roypgsqlcygwin(at)xemaps(dot)com wrote:
> BTW, does cygwin itself run as some background application (service) in NT?

On Fri, Sep 21, 2001 at 12:51:46PM -0400, roypgsqlcygwin(at)xemaps(dot)com wrote:
> Whoops! Forgot to read the README at /usr/doc/cygwin/cron.README

Did you forget to read the README again?

$ fgrep cygrunsrv /usr/doc/cygwin/cron.README
cygrunsrv. Install as service like that:
cygrunsrv -I cron -p /usr/sbin/cron -a -D

Or, did you just forgot to start the service?

$ net start cron

Jason