Re: cron does not work: no error message

2008-01-12 Thread Saurabh Tendulkar

Pierre,
Thanks for the reply. It seems to be working now, although I didnt do anything.
Very strange. The cron.log file is still empty though. cron-config says no
problem found.

saurabh

--- Pierre A. Humblet [EMAIL PROTECTED] wrote:

 
 - Original Message - 
 From: Saurabh Tendulkar 
 To: cygwin
 Sent: Thursday, January 10, 2008 11:26 PM
 Subject: cron does not work: no error message
 
 
 | Hi,
 | 
 | I upgraded my cygwin recently to the latest cron (4.1-6), and it seems to
 have
 | stopped working. I did a cygrunsrv -E cron when the setup asked me to kill
 | cron, and cygrunsrv -S cron to start it after the upgrade finished.
 | 
 | Now the application log shows that /usr/sbin/cron actually runs, but
 instead of
 | running the command from the crontab, it simply does a tabs reload. The
 | following are relevant lines from cygbug.txt, the first one shows an
 instance
 | of the old cron, the second one an instance of the new one.
 | 2008/01/10 00:21:01 [SYSTEM] /usr/sbin/cron: PID 1412: (HP_Owner) CMD (ls)
 | ...
 | 2008/01/10 20:50:01 [SYSTEM] /usr/sbin/cron: PID 3104: (HP_Owner) RELOAD
 | (tabs/HP_Owner)
 | 
 | The only thing that jumped out at me was that /var/cron/cron.log and
 | /var/run/cron.pid have user SYSTEM and group root, and afaict these are the
 | only files in the cygwin space with that user+group pair. Is this right?
 Also
 | the cron.log file is empty.
 
 Did you run the new /usr/bin/cron-config  ? It will check that various
 settings are
 set correctly. If the problem persists, send me cygbug.txt.
 
 Pierre
 
 



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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



cron does not work: no error message

2008-01-10 Thread Saurabh Tendulkar
Hi,

I upgraded my cygwin recently to the latest cron (4.1-6), and it seems to have
stopped working. I did a cygrunsrv -E cron when the setup asked me to kill
cron, and cygrunsrv -S cron to start it after the upgrade finished.

Now the application log shows that /usr/sbin/cron actually runs, but instead of
running the command from the crontab, it simply does a tabs reload. The
following are relevant lines from cygbug.txt, the first one shows an instance
of the old cron, the second one an instance of the new one.
2008/01/10 00:21:01 [SYSTEM] /usr/sbin/cron: PID 1412: (HP_Owner) CMD (ls)
...
2008/01/10 20:50:01 [SYSTEM] /usr/sbin/cron: PID 3104: (HP_Owner) RELOAD
(tabs/HP_Owner)

The only thing that jumped out at me was that /var/cron/cron.log and
/var/run/cron.pid have user SYSTEM and group root, and afaict these are the
only files in the cygwin space with that user+group pair. Is this right? Also
the cron.log file is empty.

Any thoughts? Thank you.

saurabh


  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

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



Convert windows shortcuts to cygwin soft links

2008-01-10 Thread Saurabh Tendulkar
I must have done something to my cygwin folder, but all my ln'ed soft links on
cygwin have gotten replaced by *.lnk windows files. Is there a utility to
convert windows links to cygwin soft links? I dont want to have to go and do
everything manually (there's at least a hundred files!). Thank you.

saurabh


  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

--
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: Can cron cause computer to wake up from hibernate?

2007-10-02 Thread Saurabh Tendulkar


On Tue, Oct 02, 2007 at 08:51:19AM -0700, Andrew DeFaria wrote:

Danilo Turina wrote:
I then discovered that my network card was configured to wake up the PC 
when receiving certain kind of packets. Disabling that feature did the 
job.

AFAICT that's not hibernation - that's sleep mode. There's a difference,


I use hibernate mode all the time. I once used it at work when we were 
moving from one building to another. During that time the computer was not 
even connected to the power source and indeed in a moving truck! When at 
the new building I powered it on and it came back exactly to where I had 
left it off prior to hibernating it.


In fact, Wake On LAN technology is
designed to work on machines that are completely shut down - the only
caveat is that the motherboard reserves power for the network card,
and the network card scans for a particular magic packet addressed to
it.  If that packet shows up, the computer turns itself back on.

~Matt Wozniski


Oh it is definitely hibernate. I have never had the computer come out of 
shutdown though. I found partial answers here 
(http://support.intel.com/support/network/sb/cs-008459.htm) and here 
(http://groups.google.com/group/alt.comp.periphs.mainboard.abit/msg/c40efb06dce495d6). 
My computer does show ACPI. I'll try turning off my cable modem and see if 
it works. Thanks for the suggestions.


saurabh

_
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/



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



Can cron cause computer to wake up from hibernate?

2007-10-01 Thread Saurabh Tendulkar

Hi,
I'm trying to troubleshoot why my pc comes out of hibernate. It seems like 
some of the times this happens correspond to cron jobs. Is it possible that 
cron could be (one of) the culprit(s) here? If so, is there a way to prevent 
cron from waking up the computer? Thank you.


saurabh

_
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/



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



1.5.20(0.156/4/2) pipe hangs, dos files

2006-08-01 Thread Saurabh Tendulkar
I guess I must send this again since no one replied the first time. 


For the sake of argument, there are two fileformat=dos files A and B, each
having n lines. A has the single character 'a' (other than linebreaks) on each
line, B has the single character 'b' on each line.

Now for sufficiently large values of n (starts around 2500 but 1 almost
always has this behaviour), the following command simply hangs:
paste A B | awk '{print NF}'. 

I'm thinking the problem is pipe coz the commands work fine individually (paste
is GNU coreutils 5.97, awk is GNU Awk 3.1.5). In case the output gets written
out, it is 512 lines long, which is probably some buffer size somewhere.

We have an older cygwin on another machine: CYGWIN_NT-5.1 1.5.6(0.108/3/2),
paste (textutils) 2.0.21, Gnu Awk 3.1.3, which runs absolutely fine.

ulimit -p is 8 on both machines.

Saurabh

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



NT-5.1 1.5.20(0.156/4/2) pipe hangs, dos files

2006-07-27 Thread Saurabh Tendulkar
Hi,

I'm not sure this is the correct place for bug reporting but I couldnt find
anything else on the website, so here goes.

For the sake of argument, there are two fileformat=dos files A and B, each
having n lines. A has the single character 'a' (other than linebreaks) on each
line, B has the single character 'b' on each line.

Now for sufficiently large values of n (starts around 2500 but 1 almost
always has this behaviour), the following command simply hangs:
paste A B | awk '{print NF}'. 

I'm thinking the problem is pipe coz the commands work fine individually (paste
is GNU coreutils 5.97, awk is GNU Awk 3.1.5). In case the output gets written
out, it is 512 lines long, which is probably some buffer size somewhere.

We have an older cygwin on another machine: CYGWIN_NT-5.1 1.5.6(0.108/3/2),
paste (textutils) 2.0.21, Gnu Awk 3.1.3, which runs absolutely fine.

ulimit -p is 8 on both machines.

Saurabh

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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