On Thu, 27 May 2004, Thorsten Kampe wrote:
> * Dave Korn (2004-05-27 11:26 +0100) > >> * Robert Pollard (2004-05-26 18:33 +0100) > >>> I have a bit of a problem where when we launch cron from > >> the command > >>> line after a few days it dies in Windows but is still visible in > >>> Cygwin. > >> > >> Beg your pardon? Your sentence doesn't make sense to me. > >> > >>> Currently, I run a script that launches /usr/sbin/cron. This > >>> script only launches cron if it isn't running. > >>> > >>> Does it have something to do with not launching from an rc file? > >> > >> Excuse me? rc files are /configuration/ files... > > > > Have you ever actually *read* one? They're shell scripts. > > You mean the runlevel scripts in rc.d? They're neither part of the > default Cygwin nor of cron installation so I didn't think of these. > /I/ meant "rc files" like bashrc, zshrc, etc. > > This misunderstanding proves only two things: > > 1. People who are retentive with facts and descriptions (like RP) > provoke misunderstandings inevitably. > > 2. If RP had even a slight understanding of Cygwin, he would have > known that no "runlevel script" is required to start a "Cygwin > service/daemon" (because there are no Cygwin services or daemons; just > Windows services.) > Umm hate to throw this in but.... you can start sshd (and presumably cron although i've never tried,) as daemons rather than services if you install and use the sysv init package and install it as a service and setup your /etc/init.d scripts correctly. this is how i run sshd and xinet on my laptop. however it takes a bit more work for no great gain. just muddying the waters, sorry. Vince > But I'm not even sure that RP read the cron readme so 2. may be > pointless. > > > 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/