Re: cron problems

2008-05-14 Thread Pierre A. Humblet
- Original Message - From: "Charles Miller" <> To: Sent: Wednesday, May 14, 2008 5:47 PM Subject: cron problems I'm a little confused. Ps -eaf shows the cron process running. However Windows Services say that it is not. My crontab is coming back with incorrect permissions. Can you le

Re: cron problems

2007-11-06 Thread Pierre A. Humblet
- Original Message - From: "Helge Stenström" <> To: Sent: Tuesday, November 06, 2007 9:48 AM Subject: cron problems | I no longer remember the exact questions, but there are some issues. Yes, there always are issues but I am not sure why. | 1. cron-config asked about my password, and

Re: CRON problems

2007-05-14 Thread Pierre A. Humblet
- Original Message - From: To: Sent: Monday, May 14, 2007 10:35 AM Subject: CRON problems | Hi, | | I have process scheduling my tasks under cygwin unsing CRON. I have | started the cron service by running the script usr/bin/cron-config. | | cron_diagnose.sh reports zero errors. ps

Re: Cron Problems

2006-07-24 Thread René Berber
Andrew King wrote: > Before I get started, please note that I'm a complete Cygwin newbie, so > try to bear with me. > > We had Cron running on a system to check the integrity of our backups, > but the drive went out. We had a backup of the drive before it went > out. My boss now wants me to mak

Re: Cron Problems with Cygwin

2005-10-24 Thread René Berber
Larry Hall (Cygwin) wrote: [snip] > 1 * * * * /bin/echo "hi" >/tmp/cron.out You meant: * * * * * /bin/echo :hi: >/tmp/cron.out -- R. Berber -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: h

Re: Cron Problems with Cygwin

2005-10-24 Thread Larry Hall (Cygwin)
CWS Informatics [Sas] wrote: I am not sure what else you want based on reporting guidelines. I attached the cygcheck file though. Thanks. I was also looking for details about your failing cron commands. As for what I am trying to do: We have a bunch of old Unix scripts and software that

RE: Cron Problems with Cygwin

2005-10-24 Thread CWS Informatics [Sas]
PM To: CWS Informatics [Sas] Cc: cygwin@cygwin.com Subject: Re: Cron Problems with Cygwin CWS Informatics [Sas] wrote: > I am having trouble getting the cron to run properly under Windows > 2000 and XP with cygwin. > > I have searched through several threads on the mailing list, i

Re: Cron Problems with Cygwin

2005-10-23 Thread Larry Hall (Cygwin)
CWS Informatics [Sas] wrote: I am having trouble getting the cron to run properly under Windows 2000 and XP with cygwin. I have searched through several threads on the mailing list, including these most relevant ones: The solutions did not overly work, although they did help me progress a little

RE: Cron problems with cygwin...

2005-07-27 Thread Kevin Markle
Thanks! -Original Message- From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 12:10 AM To: Kevin Markle Cc: cygwin@cygwin.com Subject: Re: Cron problems with cygwin... Kevin, <http://cygwin.com/acronyms/#PPIOSPE>. Thanks. I'm redirecting

RE: Cron problems with cygwin...

2005-07-27 Thread Etienne Mbuyi
Again, if I misread his email, I sincerely apologize. -Original Message- From: Larry Hall [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 27, 2005 11:27 AM To: Etienne Mbuyi; cygwin@cygwin.com Subject: RE: Cron problems with cygwin... At 11:08 AM 7/27/2005, you wrote: >When I fi

RE: Cron problems with cygwin...

2005-07-27 Thread Larry Hall
At 11:08 AM 7/27/2005, you wrote: >When I first posted my problem with cron-cygwin, I got a reply from him that >I still don't think was kind. >If I misread his attempt to help me, then I apologize. You mean this? If so then yes, you mi

Re: Cron problems with cygwin...

2005-07-27 Thread Christopher Faylor
On Wed, Jul 27, 2005 at 11:08:33AM -0400, Etienne Mbuyi wrote: >When I first posted my problem with cron-cygwin, I got a reply from him >that I still don't think was kind. Well, with any luck his manager is monitoring this list ("this mailing list may be monitored for quality assurance purposes")

RE: Cron problems with cygwin...

2005-07-27 Thread Etienne Mbuyi
ly 27, 2005 11:02 AM To: cygwin@cygwin.com Subject: Re: Cron problems with cygwin... On Wed, Jul 27, 2005 at 10:49:24AM -0400, Etienne Mbuyi wrote: >Ye, cron-config is the way to go. I used on my last install and thanks to >Pierre, it solved my problem. >Another point I would like to mak

Re: Cron problems with cygwin...

2005-07-27 Thread Christopher Faylor
On Wed, Jul 27, 2005 at 10:49:24AM -0400, Etienne Mbuyi wrote: >Ye, cron-config is the way to go. I used on my last install and thanks to >Pierre, it solved my problem. >Another point I would like to make here is that Igor needs to be a bit >more kind in his reply. It doesn't help if you make peop

RE: Cron problems with cygwin...

2005-07-27 Thread Etienne Mbuyi
hanks Pierre for your help and contributions. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pierre A. Humblet Sent: Wednesday, July 27, 2005 10:09 AM To: cygwin@cygwin.com Subject: Re: Cron problems with cygwin... Igor Pechtchanski wrote: > Third, pl

Re: Cron problems with cygwin...

2005-07-27 Thread Pierre A. Humblet
Igor Pechtchanski wrote: > Third, please run the cron_diagnose.sh script and examine the results. > If it's a simple permission issue, that script should catch it. cron_diagnose.sh was not designed for Win2003 and is not a good diagnostic tool there. It won't catch all permissions issues and may

Re: Cron problems with cygwin...

2005-07-26 Thread Igor Pechtchanski
Kevin, . Thanks. I'm redirecting this reply to the Cygwin mailing list, and setting Reply-To appropriately. On Tue, 26 Jul 2005, Kevin Markle wrote: > Hello, > > I was looking on the web for my windows 2003 cygwin cron prolems and it > appears that you have

Re: cron problems with windows 2003 server

2005-01-20 Thread Pierre A. Humblet
On Thu, Jan 20, 2005 at 05:57:27PM -0800, Jay Patel wrote: > CYGWIN_NT-5.2 hal 1.5.12(0.116/4/2) 2004-11-10 08:34 i686 unknown > unknown Cygwin > > Logged in as Administrator I have installed the cron service with: > cygrunsrv -I cron -p /usr/sbin/cron -a '-D' -e CYGWIN="tty ntsec > binmode" -d

Re: CRON problems

2004-05-07 Thread Andrew DeFaria
Igor Pechtchanski wrote: On Fri, 7 May 2004, Andrew DeFaria wrote: Igor Pechtchanski wrote: On Fri, 7 May 2004, Brian Dessent wrote: Andrew DeFaria wrote: # Install cron service: cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e "[EMAIL PROTECTED]" -e "CYGWIN=ntsec" ^^

Re: CRON problems

2004-05-07 Thread Igor Pechtchanski
On Fri, 7 May 2004, Andrew DeFaria wrote: > Igor Pechtchanski wrote: > > > On Fri, 7 May 2004, Brian Dessent wrote: > > > >> Andrew DeFaria wrote: > >> > >>> # Install cron service: > >>> cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e "[EMAIL > >>> PROTECTED]" -e "CYGWIN=ntsec" > >

Re: CRON problems

2004-05-07 Thread Andrew DeFaria
Igor Pechtchanski wrote: On Fri, 7 May 2004, Brian Dessent wrote: Andrew DeFaria wrote: # Install cron service: cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e "[EMAIL PROTECTED]" -e "CYGWIN=ntsec" ^^ As an aside, hasn't 'ntsec' been enabled by default for a long time

RE: CRON problems

2004-05-07 Thread Igor Pechtchanski
On Fri, 7 May 2004, Harig, Mark wrote: > > Two places to look for the actual error are /var/log/cron.log and the > > Windows event log. Perhaps Mark can add this to the output of his > > script... > > Igor > > I assume that what you are suggesting is that some > text pointing the user to /v

Re: CRON problems

2004-05-07 Thread Andrew DeFaria
Brian Dessent wrote: Andrew DeFaria wrote: # Install cron service: cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e "[EMAIL PROTECTED]" -e "CYGWIN=ntsec" ^^ As an aside, hasn't 'ntsec' been enabled by default for a long time7 now? Or am I just remembering incorrectly? N

RE: CRON problems

2004-05-07 Thread Harig, Mark
Please delete respondents' email addresses from any replies. Spammers harvest email addresses from mailing lists. > -Original Message- > From: Hank Statscewich > Sent: Thursday, May 06, 2004 7:13 PM > To: Harig, Mark > cc: [EMAIL PROTECTED] > Subject: RE: CRON p

RE: CRON problems

2004-05-07 Thread Harig, Mark
> > Two places to look for the actual error are /var/log/cron.log and the > Windows event log. Perhaps Mark can add this to the output of his > script... > Igor > -- I assume that what you are suggesting is that some text pointing the user to /var/log/cron.log be added, not actually displ

RE: CRON problems

2004-05-07 Thread Harig, Mark
> > Hmm, seems to me like checking ownership and permissions of cron.pid > would be something the cron_diagnose.sh should do. What happened was > that you ran it initially as your normal user account, and > the pid file > was created. Then when you tried to start it as a service, it was > runni

Re: CRON problems

2004-05-07 Thread Igor Pechtchanski
On Fri, 7 May 2004, Brian Dessent wrote: > Andrew DeFaria wrote: > > > # Install cron service: > > cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e "[EMAIL > > PROTECTED]" -e "CYGWIN=ntsec" > >

Re: CRON problems

2004-05-07 Thread Brian Dessent
Andrew DeFaria wrote: > # Install cron service: > cygrunsrv -I cron -p /usr/sbin/cron -a -D -d "Cygwin cron" -e > "[EMAIL PROTECTED]" -e "CYGWIN=ntsec" ^^ As an aside, hasn't 'ntsec' been enabled by default for a long time now? Or am I just remember

Re: CRON problems

2004-05-06 Thread Andrew DeFaria
Brian Dessent wrote: Hank Statscewich wrote: Great suggestion. In /var/log/cron.log there were 17 lines of: /usr/sbin/cron: can't open or create /var/run/cron.pid: Permission denied So I just changed permission of the file to 777 and cron started up just fine. I rebooted and lo and behold cron i

Re: CRON problems

2004-05-06 Thread Brian Dessent
Hank Statscewich wrote: > Great suggestion. In /var/log/cron.log there were 17 lines of: > /usr/sbin/cron: can't open or create /var/run/cron.pid: Permission denied > > So I just changed permission of the file to 777 and cron started up just fine. > I rebooted and lo and behold cron is still runn

RE: CRON problems

2004-05-06 Thread Hank Statscewich
Igor, Great suggestion. In /var/log/cron.log there were 17 lines of: /usr/sbin/cron: can't open or create /var/run/cron.pid: Permission denied So I just changed permission of the file to 777 and cron started up just fine. I rebooted and lo and behold cron is still running. I'm changing permissio

RE: CRON problems

2004-05-06 Thread Igor Pechtchanski
On Thu, 6 May 2004, Hank Statscewich wrote: > Mark, > > Thanks for the sugestion. So, I just ran cron diagnose.sh (ver. 1.5) and > it tells me that my cron is installed just fine, but even a simple > "hello world" doesnt work. This is pretty wierd because if I do a ps > -elf cron doesn't show up

RE: CRON problems

2004-05-06 Thread Hank Statscewich
Mark, Thanks for the sugestion. So, I just ran cron diagnose.sh (ver. 1.5) and it tells me that my cron is installed just fine, but even a simple "hello world" doesnt work. This is pretty wierd because if I do a ps -elf cron doesn't show up anywhere, here's the output: UID PIDPPI

RE: CRON problems

2004-05-06 Thread Harig, Mark
Please run cron_diagnose.sh version 1.5. Numerous bugs have been found and fixed. This version can be found (as an attachment) on the mailing list at: http://sources.redhat.com/ml/cygwin/2004-03/msg00379.html > -Original Message- > From: Hank Statscewich > Sent: Wednesday, May 05, 2004 8

Re: cron problems finally resolved

2003-09-26 Thread Igor Pechtchanski
On Fri, 26 Sep 2003, Øyvind Harboe wrote: > After much knashing of teeth, I've finally figured out > what made my cron scripts fail: > > In a normal shell, the /usr/bin is in at the front of > the $PATH. > > When cron runs as a cygrunsrv service /usr/bin is at the > end of the $PATH. > > In my cas

Re: cron problems - no longer functions after changing system date

2003-02-13 Thread Corinna Vinschen
On Wed, Feb 12, 2003 at 04:08:05PM -0600, Jason Waldhelm wrote: > hello, > > I've noticed a problem with the cron service and as of yet, haven't found any > posts that echo my problem. It seems whenever the system date is changed on > the computer on which cron is running as a service, the cron

Re: Cron Problems

2003-01-22 Thread Elfyn McBratney
> Thanks. However, where can I find the options of cron? Now I only find > some info in /usr/doc/Cygwin/cron.README, but only in the ChangeLog > section, which I ignored on the first reading! There are only two options you can pass to cron. 1) -D (got the meaning wrong the last time; Means don't

Re: Cron Problems

2003-01-22 Thread Wu Yongwei
Thanks. However, where can I find the options of cron? Now I only find some info in /usr/doc/Cygwin/cron.README, but only in the ChangeLog section, which I ignored on the first reading! And what is the use of the option -a? Best regards, Wu Yongwei --- Original Message from Elfyn McBratney

Re: Cron Problems

2003-01-22 Thread Elfyn McBratney
> 2) How to start cron when starting the computer? I tried running it as > a service in cygrunsrv (cygrunsrv -I cron -p /usr/sbin/cron), but failed > since starting the service always failed (cron : Win32 Process Id = > 0x3F8 : Cygwin Process Id = 0x3F8 : starting service `cron' failed: > execv: 0