* RE: Running cygwin cron under WinXP SP1
@ 2004-02-20 20:43 Harig, Mark
0 siblings, 0 replies; 6+ messages in thread
From: Harig, Mark @ 2004-02-20 20:43 UTC (permalink / raw)
To: Russell Hind, cygwin
>
> The only thing I hadn't done before was the mkpasswd -l -d
> and mkgroup
> -l -d on first run of the original install, so don't know if
> that made a
> difference, but its working now.
It does make a difference, and this problem is detected by
the diagnostic script. When the problem is detected, it
recommends that the user perform the steps that you took
above.
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Running cygwin cron under WinXP SP1
2004-02-19 11:40 Russell Hind
2004-02-19 13:11 ` Thorsten Kampe
@ 2004-02-20 9:30 ` Russell Hind
1 sibling, 0 replies; 6+ messages in thread
From: Russell Hind @ 2004-02-20 9:30 UTC (permalink / raw)
To: cygwin
Russell Hind wrote:
> I have just installed the latest cygwin and set up cron to run using
>
Thanks for your replies. I have it working now by uninstalling cygwin
and re-installing it from the web (I had installed it a couple of weeks
back and then added cron later).
The only thing I hadn't done before was the mkpasswd -l -d and mkgroup
-l -d on first run of the original install, so don't know if that made a
difference, but its working now.
Cheers
Russell
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Running cygwin cron under WinXP SP1
@ 2004-02-19 15:49 Harig, Mark
0 siblings, 0 replies; 6+ messages in thread
From: Harig, Mark @ 2004-02-19 15:49 UTC (permalink / raw)
To: Russell Hind, cygwin
Please read the message in the Cygwin mailing list at:
http://sources.redhat.com/ml/cygwin/2003-12/msg00711.html
It will provide you with a script that will attempt
to diagnose the problem that you are having with cron.
> -----Original Message-----
> From: Russell Hind [mailto:rhind@mac.com]
> Sent: Thursday, February 19, 2004 4:56 AM
> To: cygwin@cygwin.com
> Subject: Running cygwin cron under WinXP SP1
>
>
> I have just installed the latest cygwin and set up cron to run using
>
> cygrunsrv -I cron -p /usr/sbin/cron -a -D
> cygrunsrv -S cron
>
> It is running as a service (both in XP task manager and in ps -ef)
>
> But I can't get it to execute commands. I have tried a
> crontab as both
> /etc/crontab and /var/cron/tabs/Russell
>
> Is there an FAQ for getting cron running under cygwin? I can't been
> able to find one.
>
> Thanks
>
> Russell
>
>
> --
> 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/
>
>
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* RE: Running cygwin cron under WinXP SP1
2004-02-19 13:11 ` Thorsten Kampe
@ 2004-02-19 14:02 ` Brian Kelly
0 siblings, 0 replies; 6+ messages in thread
From: Brian Kelly @ 2004-02-19 14:02 UTC (permalink / raw)
To: cygwin
Be sure you leave a blank line at the bottom of the crontab. This a
little
detail that is often overlooked - but one that would have been
discovered with a little research on unix cron. (cron of course has
*life* outside of cygwin) I'm not at all suggesting that this is the
problem - just one more thing to be aware of.
Brian Kelly
-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Thorsten Kampe
Sent: Thursday, February 19, 2004 7:07 AM
To: cygwin@cygwin.com
Subject: Re: Running cygwin cron under WinXP SP1
* Russell Hind (2004-02-19 10:55 +0100)
> I have just installed the latest cygwin and set up cron to run using
>
> cygrunsrv -I cron -p /usr/sbin/cron -a -D
> cygrunsrv -S cron
>
> It is running as a service (both in XP task manager and in ps -ef)
>
> But I can't get it to execute commands. I have tried a crontab as
both
> /etc/crontab and /var/cron/tabs/Russell
How did you create those? crontab -e for the latter? You know that the
system-wide crontab has a additional field for the user?
cron logs tho /var/whatever and into the eventviewer. Please consult
those two logs and explain further "can't get it to execute commands".
Try redirecting the output with ">". For executables use the full path
or the PATH variable inside the crontab. Please read the fine manual
which answers all FAQs.
Thorsten
--
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/
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Running cygwin cron under WinXP SP1
2004-02-19 11:40 Russell Hind
@ 2004-02-19 13:11 ` Thorsten Kampe
2004-02-19 14:02 ` Brian Kelly
2004-02-20 9:30 ` Russell Hind
1 sibling, 1 reply; 6+ messages in thread
From: Thorsten Kampe @ 2004-02-19 13:11 UTC (permalink / raw)
To: cygwin
* Russell Hind (2004-02-19 10:55 +0100)
> I have just installed the latest cygwin and set up cron to run using
>
> cygrunsrv -I cron -p /usr/sbin/cron -a -D
> cygrunsrv -S cron
>
> It is running as a service (both in XP task manager and in ps -ef)
>
> But I can't get it to execute commands. I have tried a crontab as both
> /etc/crontab and /var/cron/tabs/Russell
How did you create those? crontab -e for the latter? You know that the
system-wide crontab has a additional field for the user?
cron logs tho /var/whatever and into the eventviewer. Please consult
those two logs and explain further "can't get it to execute commands".
Try redirecting the output with ">". For executables use the full path
or the PATH variable inside the crontab. Please read the fine manual
which answers all FAQs.
Thorsten
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Running cygwin cron under WinXP SP1
@ 2004-02-19 11:40 Russell Hind
2004-02-19 13:11 ` Thorsten Kampe
2004-02-20 9:30 ` Russell Hind
0 siblings, 2 replies; 6+ messages in thread
From: Russell Hind @ 2004-02-19 11:40 UTC (permalink / raw)
To: cygwin
I have just installed the latest cygwin and set up cron to run using
cygrunsrv -I cron -p /usr/sbin/cron -a -D
cygrunsrv -S cron
It is running as a service (both in XP task manager and in ps -ef)
But I can't get it to execute commands. I have tried a crontab as both
/etc/crontab and /var/cron/tabs/Russell
Is there an FAQ for getting cron running under cygwin? I can't been
able to find one.
Thanks
Russell
--
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/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-02-20 20:24 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-20 20:43 Running cygwin cron under WinXP SP1 Harig, Mark
-- strict thread matches above, loose matches on Subject: below --
2004-02-19 15:49 Harig, Mark
2004-02-19 11:40 Russell Hind
2004-02-19 13:11 ` Thorsten Kampe
2004-02-19 14:02 ` Brian Kelly
2004-02-20 9:30 ` Russell Hind
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).