This is the mail archive of the
mailing list for the Cygwin project.
Re: problem of cron in cygwin xp
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Chunyu Liu <cliu at yoda dot bsd dot uchicago dot edu>
- Cc: cygwin at cygwin dot com
- Date: Tue, 30 Sep 2003 00:27:02 -0400 (EDT)
- Subject: Re: problem of cron in cygwin xp
- References: <3F78F297.email@example.com>
- Reply-to: cygwin at cygwin dot com
Please do not send Cygwin questions in personal mail unless specifically
requested. All discussion of cygwin-related topics should happen on the
Cygwin list unless specifically requested otherwise. One of the benefits
is that the discussion ends up in the list archives. Another is that you
have access to the expertise of many people instead of just one.
For your convenience, I'm redirecting this query to the Cygwin list. More
On Mon, 29 Sep 2003, Chunyu Liu wrote:
> Dear Igor Pechtchanski,
> I noticed that you've been trying discussed this problem in the forum.
> But I don't know whether you had the conclusion on this.
> Would you mind helping me?
> I have tried
> cygrunsrv -I cron -p /usr/sbin/cron -a -D
> cygrunsrv -S cron
> and set /var/run/cron.pid to a+rw,
> At the "-S cron" step, I can even see the new record in the log file at
> /var/log, saying
>  cron started
> But cygwin pompts:
> "cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
> The service has not been started."
> And "ps" does not show job of cron running. The cron does not do any
> scheduled work either.
> I checked Windows Services control panel, the cron is associated with
> cygrunsrv there. But whenever it's "started", it stopped immediately.
> Any help would be greatly appreciated!
> Chunyu Liu
Is there any information in the log on why the cron program couldn't run?
Can you run cron from the command line? ...From a SYSTEM-owned shell?
Did you search the list archives for a similar problem? Did you run Mark
Also, please read and follow the Cygwin problem reporting guidelines at
|\ _,,,---,,_ firstname.lastname@example.org
ZZZzz /,`.-'`' -. ;-;;,_ email@example.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) 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