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

cron problems

2008-05-14 Thread Charles Miller
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 let me know what I need to do to get cron working ? Log Message: Current version -rwxr-x---+ 1 administrator mkgroup-l-d 495

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 a

cron problems

2007-11-06 Thread Helge Stenström
I want to use cron on my laptop to run backup jobs to a network disk regularly. Therefore, I first used crontab: crontab myCrontabFile and then used cron-config to start the cron daemon. I no longer remember the exact questions, but there are some issues. 1. cron-config asked about my password,

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

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

Cron Problems

2006-07-24 Thread Andrew King
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 make the Cron run again from th

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

Cron Problems with Cygwin

2005-10-21 Thread CWS Informatics [Sas]
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 bit. http://www.cygwin.com/ml

Re: 2 cron problems and 1 solution on XP

2005-09-30 Thread Brian Dessent
Mike Dieter wrote: > Is there a way to suppress CRON MAILING ME from 'mature' scripts where I > think I know what cron will say and I don't care? In addition to what Eric said (lose the '&' at the end), you can use MAILTO="" to tell cron not to send any mail on failure. "man 5 crontab" should be

Re: 2 cron problems and 1 solution on XP

2005-09-30 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Mike Dieter on 9/30/2005 9:35 PM: > So next I tried only escaping the percent sign AND IT WORKED! > 10 9 * * 1-5 /home/Gary/MCD.send --subject "`date +\%B` Clearance" 2>&1 >> /dev/null & Well, yeah - isn't that what 'man 5 crontab' said?

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

cron problems with windows 2003 server

2005-01-20 Thread Jay Patel
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 "CYGWIN cron" The process is running, but my cron jobs for Administrat

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
sion 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:12 PM > > To: cygwin > > Subject:

RE: CRON problems

2004-05-06 Thread Harig, Mark
05, 2004 8:12 PM > To: cygwin > Subject: CRON problems > > > Hello, > > I've been doing my best to read all the previous FAQ pages, > README documents, > and forum posts, but I am still having issues getting my cron > jobs to run the > way I want them to

CRON problems

2004-05-05 Thread Hank Statscewich
Hello, I've been doing my best to read all the previous FAQ pages, README documents, and forum posts, but I am still having issues getting my cron jobs to run the way I want them to. If I explicitly start cron by calling /usr/sbin/cron, then my jobs run fine, but my application demands that the

SV: cron problems finally resolved

2003-09-26 Thread Øyvind Harboe
>Take a look at the "-e" option to cygrunsrv -- >it might help. I find it a bit unnerving that I test my scripts under bash and then deploy them under a different environment that I do not properly understand. By using the "bash" trick in the last post, I was hoping to more precisely copy the env

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

cron problems finally resolved

2003-09-26 Thread Øyvind Harboe
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 case, I had a Windows version of "tar" that being executed inst

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

cron problems - no longer functions after changing system date

2003-02-12 Thread Jason Waldhelm
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 daemon stops functioning. The service itself doesn't appear to stop (Wi

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

Cron Problems

2003-01-22 Thread Wu Yongwei
I successfully ran some simple cron jobs under Cygwin, but two things puzzled me. 1) There are always some error messages in Event Log Viewer when running cron or crontab. The error messages are like "Description of event ID (0) cannot be found (in resource (cron)). There might be missing re