Re: Cron on Cygwin

2006-04-13 Thread Larry Hall (Cygwin)

Brian Dessent wrote:

grahul wrote:


I installed cron, everything seems fine. This is what I've done so far:
cygrunsrv -I cron -p /usr/sbin/cron -a -D
net start cron


You should run the cron-config script instead of trying to do it
yourself.  There's more to it than this.  See also cron_diagnose.sh.

Also, please read the problem reporting guidelines on
http://cygwin.com/problems.html, specifically the part about attaching
cygcheck output.


In addition, I feel compelled to point to this possibly applicable FAQ:

http://cygwin.com/faq/faq-nochunks.html#faq.using.shares

Of course, your cygcheck output would tell the list whether this FAQ is
applicable in your case or not.

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746

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



RE: Cron on Cygwin

2006-04-13 Thread siegfried
 You should run the cron-config script instead of trying to do it
 yourself.  There's more to it than this.  See also cron_diagnose.sh.
 

Should this be documented in c:/cygwin/usr/share/doc/Cygwin/cron.README? I
did not see it there.

Whoa! It is there. I'm not in the habbit of looking thru change lists for
installation procedures. Should I be? Is this typical of the cygwin
documentation? 

I was expecting a header like INSTALLATION PROCEDURE followed by steps 1,
2, 3...


Siegfried


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



Re: Cron on Cygwin

2006-04-12 Thread Brian Dessent
grahul wrote:

 I installed cron, everything seems fine. This is what I've done so far:
 cygrunsrv -I cron -p /usr/sbin/cron -a -D
 net start cron

You should run the cron-config script instead of trying to do it
yourself.  There's more to it than this.  See also cron_diagnose.sh.

Also, please read the problem reporting guidelines on
http://cygwin.com/problems.html, specifically the part about attaching
cygcheck output.

Brian

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



Re: cron and cygwin

2005-03-05 Thread Larry Hall
At 01:37 PM 3/5/2005, you wrote:
I have setup cron services in cygwin and am trying to run a csh scriot using 
cron
nad could not get it the script working. I can run the script as it is but 
when i
launch it using cron it doesn't work. The script is in a samba share.


crontab -e

13 10  * * *(/mnt/user/test/sw/cron.run  | /usr/bin/email -s cron_test  
[EMAIL PROTECTED])
Cron works if i remove the cron.run and use something like the one shown below
13 10  * * *( date | /usr/bin/email -s cron_test  
[EMAIL PROTECTED])
I started cron as me using /bin/cron-config. I also tried  using the
cygrunserver -E -R and -I -S options.
I mounted the /mnt/user partition using  mount -X ...

cron.run
--
#!/usr/bin/csh
#(cd /cygdrive/u/p4_main/test/sw; make ncheck)
(cd /mnt/user/test/sw; rm -f cron.test; /usr/bin/date; touch cron.test)

I would appreciate any pointers, help.


Checked the recent archives?

http://sourceware.org/ml/cygwin/2005-03/msg00149.html



--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 


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



Re: cron and cygwin

2005-03-05 Thread Ravi Ram
Larry Hall wrote:
At 01:37 PM 3/5/2005, you wrote:
 

I have setup cron services in cygwin and am trying to run a csh scriot using 
cron
nad could not get it the script working. I can run the script as it is but when 
i
launch it using cron it doesn't work. The script is in a samba share.
crontab -e

13 10  * * *(/mnt/user/test/sw/cron.run  | /usr/bin/email -s cron_test  [EMAIL PROTECTED])
Cron works if i remove the cron.run and use something like the one shown below
13 10  * * *( date | /usr/bin/email -s cron_test  
[EMAIL PROTECTED])
I started cron as me using /bin/cron-config. I also tried  using the
cygrunserver -E -R and -I -S options.
I mounted the /mnt/user partition using  mount -X ...

cron.run
--
#!/usr/bin/csh
#(cd /cygdrive/u/p4_main/test/sw; make ncheck)
(cd /mnt/user/test/sw; rm -f cron.test; /usr/bin/date; touch cron.test)
I would appreciate any pointers, help.
   


Checked the recent archives?
http://sourceware.org/ml/cygwin/2005-03/msg00149.html
 

Ya i did. Couldn't find any pointers. Will check again
--Ravi

--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746 

 


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


RE: Cron under Cygwin/Windows XP

2004-11-08 Thread Morche Matthias
[EMAIL PROTECTED] wrote:
 Hi.
 I'm attempting to run:
 
 $ crontab -l
 # DO NOT EDIT THIS FILE - edit the master and reinstall.
 # (cron/myCron installed on Fri Nov  5 14:08:06 2004)
 # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 corinna
 Exp $) * * * * * echo 'Boo from cron'
 
 but it doesn't run...

Just out of curiosity, how do You know it doesn't run?

I would try something like date  /tmp/cron.test and have a look into that 
file.

  matthias




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



RE: Cron under Cygwin/Windows XP

2004-11-08 Thread Harig, Mark
 $ cron_diagnose.sh
 cron_diagnose.sh 1.3
 

Please run version 1.7 of this diagnostic script.  It fixes
some problems that were in the earlier versions, and detects
some error conditions that the earlier versions did not.

http://sources.redhat.com/ml/cygwin/2004-07/msg00207.html



P.S., Please reply directly to this mailing list and not to me.
Also, please do not include my email address in the reply.

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