Re: problems with cron & permissions

2009-08-09 Thread Larry Hall (Cygwin)
On 08/08/2009 11:29 PM, michael trott wrote: I had already set Cron to run as my service from within Cygwin, and also under services.msc Cron is running as me. Are they the only two area's it need to me set? You want to re-run 'cron-config' specifying that you want to run the service as your u

Re: problems with cron & permissions

2009-08-08 Thread michael trott
I had already set Cron to run as my service from within Cygwin, and also under services.msc Cron is running as me. Are they the only two area's it need to me set? thanks, i really appreciate it :) On Sun, Aug 9, 2009 at 7:12 AM, Reini Urban wrote: > 2009/8/8 michael trott: >> sure uve heard it

Re: problems with cron & permissions

2009-08-08 Thread Reini Urban
2009/8/8 michael trott: > sure uve heard it all before. trying to get cron to backup my system > to a samba share thats mounted to a local drive. i can run the script > and back up fine. This is my crontab: Try the same as user SYSTEM and not as your local user and you will get the same error. Th

problems with cron & permissions

2009-08-08 Thread michael trott
hi all, sure uve heard it all before. trying to get cron to backup my system to a samba share thats mounted to a local drive. i can run the script and back up fine. This is my crontab: mich...@home-pc ~ $ crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.7ktN9TGa

Re: Problems with cron

2008-10-20 Thread Pierre A. Humblet
- Original Message - From: "Jörg Schreiber" To: cygwin@cygwin.com Sent: Monday, October 20, 2008 11:31 AM Subject: Problems with cron Hi, I've installed cygwin and I'm very pleased with it. Now I want to use cron to run some kind of backup script where I need th

Problems with cron

2008-10-20 Thread Jörg Schreiber
Hi, I've installed cygwin and I'm very pleased with it. Now I want to use cron to run some kind of backup script where I need the possibilities of a real shell (not DOS). After installing cron and ssmtp I first got e-mails from cron. It seems to run, but since I've started cron as a service (2008

Still having problems with cron writing to a restricted directory

2007-03-08 Thread Jerome Fong
Hi there, Sorry, but I am totally confused now. I have a script that creates a new sub-directory and copies files over to the new sub-directory. My problem is, the directory where this sub-directory is supposed to be created is restricted. Only I have have write permissions to the director

Re: problems with cron

2004-12-08 Thread Robert Schmidt
Jeff Yemin wrote: I'm running cron as a service using cygrunsrv commands, and it seems to start ok. But it doesn't seem to be running the jobs. I put the date job in my crontab as a test, and I never see anything written to /tmp/cron.test. Here's my crontab: # DO NOT EDIT THIS FILE - edit the

problems with cron

2004-12-08 Thread Jeff Yemin
I'm running cron as a service using cygrunsrv commands, and it seems to start ok. But it doesn't seem to be running the jobs. I put the date job in my crontab as a test, and I never see anything written to /tmp/cron.test. Here's my crontab: # DO NOT EDIT THIS FILE - edit the master and reinst

Re: Problems with cron and hibernation: a solution?

2004-10-20 Thread Andrew DeFaria
Xavier Nodet wrote: Hi all, I tried to look into the problem that cron does not gracefully wake up from hibernation[1]. Minor nit but you cannot awake from hibernation! Once hibernated the PC turns off! One must physically press the power button! I suspect you mean "standby" not "hibernation".

Re: Problems with cron and hibernation: a solution?

2004-10-20 Thread Corinna Vinschen
On Oct 20 17:29, Xavier Nodet wrote: > On Wed, 20 Oct 2004 16:19:00 +0200 Corinna Vinschen <[EMAIL PROTECTED]> wrote: > > > Erm?!? Last time I checked cron was still on version 3.0.1. > > It seems that the original source is at > > and version 4.1 (the only one t

Re: Problems with cron and hibernation: a solution?

2004-10-20 Thread Xavier Nodet
On Wed, 20 Oct 2004 16:19:00 +0200 Corinna Vinschen <[EMAIL PROTECTED]> wrote: > Erm?!? Last time I checked cron was still on version 3.0.1. It seems that the original source is at and version 4.1 (the only one there) is from 2004/01/23. -- Xavier Nodet "They t

Re: Problems with cron and hibernation: a solution?

2004-10-20 Thread Corinna Vinschen
On Oct 20 15:42, Xavier Nodet wrote: > On Wed, 20 Oct 2004 14:10:58 +0200 Corinna Vinschen <[EMAIL PROTECTED]> wrote: > > > Since that's not only a Cygwin issue, did you check upstream, if that > > problem has already been solved? > > I had not. But I just tried to find a newer version, and found

Re: Problems with cron and hibernation: a solution?

2004-10-20 Thread Xavier Nodet
On Wed, 20 Oct 2004 14:10:58 +0200 Corinna Vinschen <[EMAIL PROTECTED]> wrote: > Since that's not only a Cygwin issue, did you check upstream, if that > problem has already been solved? I had not. But I just tried to find a newer version, and found one on

Re: Problems with cron and hibernation: a solution?

2004-10-20 Thread Corinna Vinschen
On Oct 20 11:56, Xavier Nodet wrote: > On Wed, 20 Oct 2004 11:03:04 +0200 (Romance Daylight Time) Xavier Nodet <[EMAIL > PROTECTED]> wrote: > > > The attached patch corrects this problem > > Here is the patch again, un-encoded and un-signed, hoping to better > conform to the posting guidelines..

Re: Problems with cron and hibernation: a solution?

2004-10-20 Thread Xavier Nodet
On Wed, 20 Oct 2004 11:03:04 +0200 (Romance Daylight Time) Xavier Nodet <[EMAIL PROTECTED]> wrote: > The attached patch corrects this problem Here is the patch again, un-encoded and un-signed, hoping to better conform to the posting guidelines... -- Xavier Nodet "They that can give up essentia

Problems with cron and hibernation: a solution?

2004-10-20 Thread Xavier Nodet
Hi all, I tried to look into the problem that cron does not gracefully wake up from hibernation[1]. It turns out that if hibernation takes place during the call to sleep, the value returned is extremely high (in the order of 4 million seconds) and thus cron appears dead. The attached patch correc

RE: piping problems with cron+4nt

2004-02-18 Thread Mironov, Leonid {PBG}
Rafael Kitover wrote: > Perhaps try using the cygstart utility, in conjunction with --hide? > Yes, it helped. Thanks a lot. >> -Original Message- >> From: Mironov, Leonid {PBG} >> Sent: Wednesday, February 18, 2004 12:59 AM >> Subject: piping problems w

RE: piping problems with cron+4nt

2004-02-18 Thread Rafael Kitover
Perhaps try using the cygstart utility, in conjunction with --hide? >-Original Message- >From: Mironov, Leonid {PBG} >Sent: Wednesday, February 18, 2004 12:59 AM >Subject: piping problems with cron+4nt > >I've got a bunch of legacy 4NT batches I want to run from

piping problems with cron+4nt

2004-02-18 Thread Mironov, Leonid {PBG}
I've got a bunch of legacy 4NT batches I want to run from cygwin cron. When run from 4NT started from bash these batches work fine but when started from cron all lines with redirection and piping fail, e.g. when I run dir>q file 'q' is not created, dir|sort starts sort and it sits and wai

Problems with cron: extrange info log to XP log and can't exec thecrontabs

2003-08-21 Thread Alberto Sáez
Hello. I've been usgin cygwin for a while, but when I've tried to install the cron system I've got a bad error. 1- I've installed without problems cron as a service. (with and without the -e "CYGWIN=tty ntsec" param) 2- I've created the crontabs (very simple crontabs: echos to a file) 3. N

RE: Problems with cron - Almost there

2003-07-02 Thread Jarrod Hermer
Thanks that did it! -Original Message- From: Vince Hoffman [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 2:02 PM To: Vince Hoffman; 'Jarrod Hermer'; [EMAIL PROTECTED] Cc: 'Elfyn McBratney'; 'Harig, Mark' Subject: RE: Problems with cron - Almo

RE: Problems with cron - Almost there

2003-07-02 Thread Vince Hoffman
Doh sorry thats */5 * * * * "command" > -Original Message- > From: Vince Hoffman [mailto:[EMAIL PROTECTED] > Sent: 02 July 2003 12:56 > To: 'Jarrod Hermer'; [EMAIL PROTECTED] > Cc: 'Elfyn McBratney'; 'Harig, Mark' > Subject:

RE: Problems with cron - Almost there

2003-07-02 Thread Vince Hoffman
atney'; 'Harig, Mark' > Subject: RE: Problems with cron - Almost there > > > Thanks for the help, that seemed to solve my problem. > > Now I seem to be stumped by a simple problem. I have read all the cron > and crontab man pages but still cannot seemed to get my

RE: Problems with cron - Almost there

2003-07-02 Thread Jarrod Hermer
to:[EMAIL PROTECTED] Sent: Wednesday, July 02, 2003 12:45 AM To: Jarrod Hermer Cc: [EMAIL PROTECTED] Subject: RE: Problems with cron >From your cygcheck text, here are some of your mount points: C:\cygwin / userbinmode C:\cygwin/bin /usr/bin userbinmode C:\cygwin/li

RE: Problems with cron

2003-07-01 Thread Elfyn McBratney
On Tue, 1 Jul 2003, Harig, Mark wrote: > >From your cygcheck text, here are some of your mount > points: > > C:\cygwin / userbinmode > C:\cygwin/bin /usr/bin userbinmode > C:\cygwin/lib /usr/lib userbinmode > > These likely need to be 'system' mount points instead o

RE: Problems with cron

2003-07-01 Thread Harig, Mark
>From your cygcheck text, here are some of your mount points: C:\cygwin / userbinmode C:\cygwin/bin /usr/bin userbinmode C:\cygwin/lib /usr/lib userbinmode These likely need to be 'system' mount points instead of 'user' mount points. This situation probably came a

RE: Problems with cron

2003-06-27 Thread Jarrod Hermer
tails. The following information is part of the event: cron : PID 3064 : `cron' service stopped. Thanks in advance. -Original Message- From: Harig, Mark [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 11:12 PM To: Jarrod Hermer; [EMAIL PROTECTED] Subject: RE: Problems with c

RE: Problems with cron

2003-06-26 Thread Harig, Mark
inal Message- > From: Jarrod Hermer [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 26, 2003 11:37 AM > To: [EMAIL PROTECTED] > Subject: Problems with cron > > > Hi, > > I have scoured the net, run cron_diagnose.sh (no reported errors) and > followed every sugg

Problems with cron

2003-06-26 Thread Jarrod Hermer
Hi, I have scoured the net, run cron_diagnose.sh (no reported errors) and followed every suggestion I could find. Yet I cannot get cron to work. At the prompt I get the following error: Cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062: The service has not been started.