Re: cron: trying and totally failing to run a simple cron job - fixed (with comments)

2023-05-23 Thread Jonathan Clark via Cygwin
I got this running. In the hope that it may help others, I give some details here. It turned out that I was on the right track - it *was* the space in my Windows username which was making cron complain. The simple addition of a (basically completely fake but plausible) MAILTO line in the cront

Re: cron: trying and totally failing to run a simple cron job

2023-05-23 Thread Jonathan Clark via Cygwin
Hi Brian: Thank you for your response. On 23/05/2023 17:44, Brian Inglis wrote: On 2023-05-23 13:46, Jonathan Clark via Cygwin wrote: First off, many thanks to everyone who is putting in time and effort in making cygwin as wonderful as it is. I'm trying to get what I think is a simple cron j

Re: cron: trying and totally failing to run a simple cron job

2023-05-23 Thread Brian Inglis via Cygwin
On 2023-05-23 13:46, Jonathan Clark via Cygwin wrote: First off, many thanks to everyone who is putting in time and effort in making cygwin as wonderful as it is. I'm trying to get what I think is a simple cron job working. So far all I've gotten is frustrated and confused. I'm sure I'm doing

Re: cron problem -- can't switch user context

2021-07-19 Thread Brian Inglis
On 2021-07-19 11:40, Jeremy Hetzler via Cygwin wrote: Upon installing Cygwin and cron on a new Windows Server 2019 machine, we are unable to get cron to work. I installed cron using cron-config. Cron is configured to run under account cyg_server, which cron-config set up. cron-config reported th

Re: Cron can't switch user context

2021-04-27 Thread Andrey Repin
Greetings, Brian Inglis! >> We are aware that there are many tutorials and Q&A on the net which deal with >> exactly this subject. However, none of the proposed solutions worked for us. The one Q&A should have get you started: since Cygwin 3.1 (IIRC, may be earlier), the core was changed to use L

Re: Cron can't switch user context

2021-04-27 Thread Brian Inglis
On 2021-04-27 04:37, Peter Pfannenschmid wrote: However, today we have run into an issue with cron. Please see the attached logs for details. Additional notes: - O/S is Windows Server 2019 Standard x64 - The cyg_server user has been created by cron-config, and we didn't change anything in th

Re: Cron installation issue

2020-09-02 Thread Anantha . Kumar
error; please reply so we are aware and delete it. <mailto:anantha.ku...@elait.com> From: marco atzeri Sent: Wednesday, September 2, 2020 3:05 PM To: Anantha.Kumar Cc: cygwin@cygwin.com Subject: Re: Cron installation issue CAUTION: This email originated

Re: Cron installation issue

2020-09-02 Thread marco atzeri via Cygwin
On Wed, Sep 2, 2020 at 11:13 AM Anantha.Kumar wrote: > > Hi Team, > > Do you have any advice on this failure. Again: You must run service config scripts from an elevated admin shell. It seems very simple to me. Or do you not understand its meaning ? Regards Marco -- Problem reports: ht

Re: Cron installation issue

2020-09-02 Thread Anantha . Kumar
elait.com> From: Anantha.Kumar Sent: Tuesday, September 1, 2020 5:47 PM To: cygwin@cygwin.com ; brian.ing...@systematicsw.ab.ca Subject: Re: Cron installation issue Hi Brain, Yes, I was trying to run through admin shell but still facing this issue. Thanks, Anantha Kumar Platform Su

Re: Cron installation issue

2020-09-01 Thread Anantha . Kumar
nantha.ku...@elait.com> From: Brian Inglis Sent: Friday, August 28, 2020 7:34 PM To: cygwin@cygwin.com Cc: Anantha.Kumar Subject: Re: Cron installation issue CAUTION: This email originated from outside of the organization. Do not click links or open attachment

Re: Cron installation issue

2020-08-28 Thread Brian Inglis
On 2020-08-28 03:35, Anantha.Kumar wrote: > I am facing some issue while installing cron as a windows service. I have > attached the error message and cronbug output. Could you please help us on > this issue? > Do you want to start the cron daemon as a service now? (yes/no) yes > cygrunsrv: Err

Re: cron running but not executing user crontab

2018-01-15 Thread René Berber
On 1/15/2018 2:48 PM, Chris Johnson wrote: > Bit of a conundrum here.  Running WIN7 and cygwin64.  Have the terminal > running and Perl is installed and runs.  AFAIK, that all works.  Used > cygrunsrv to get cron going. Not sure if I remember this right, but there is a cron-config in the package,

Re: cron running but not executing user crontab

2018-01-15 Thread Brian Inglis
On 2018-01-15 13:48, Chris Johnson wrote: > Bit of a conundrum here.  Running WIN7 and cygwin64.  Have the terminal > running > and Perl is installed and runs.  AFAIK, that all works.  Used cygrunsrv to get > cron going.  I can see cron in a ps -af in the terminal.  I set up a crontab > for > my

RE: cron bug

2016-01-13 Thread Chuck Roberts
> Hello, > > I have set up cron as below on a fresh Windows 10 with a fresh, > minimal 64-bit Cygwin installation. Cronjobs are not executed and cronevents says /usr/sbin/cron: > PID 608: (CRON) error (can't switch user context). The output of > cronbug is attached. > > When I run the service not

RE: cron bug

2016-01-13 Thread Pierre A Humblet
> -Original Message- > From: Stefan Götz > Sent: Wednesday, January 13, 2016 12:55 AM > > > Hello, > > I have set up cron as below on a fresh Windows 10 with a fresh, > minimal 64-bit Cygwin installation. Cronjobs are not executed and cronevents says /usr/sbin/cron: > PID 608: (CRON) er

Re: Cron not working

2015-03-10 Thread Larry Hall (Cygwin)
On 03/10/2015 09:48 AM, Stefan Schumacher wrote: Hello I am trying to set up a cron job to run a script every 10 minutes. I have installed cron via the installer and configured it with cron-config to run as a system service. Mar 10 14:11:33 stefan-PC cron: PID 3408: `cron' service started Th

Re: cron isnt running, switched from 64bit to 32

2014-01-19 Thread Larry Hall (Cygwin)
On 1/16/2014 8:05 PM, patrick wrote: hi, i had cron running from a 64bit cygwin install, but i decided to switch to a 32bit version. the 32bit cygwin is installed to a differnt directory. what i did: running cron-config again from a terminal started as admin. deinstalling the service via cygrun

Re: Cron exec /usr/bin/make -r -C /sourceware/cygwin-staging/setup

2013-09-08 Thread Christopher Faylor
On Mon, Sep 09, 2013 at 03:23:01AM -, Cron Daemon wrote: >make: Entering directory `/sourceware1/cygwin-staging/setup' >gpg: Fatal: can't create directory `/sourceware/cygwin-staging/.gnupg': >Permission denied >make: *** [/var/ftp/pub/cygwin/x86/setup.ini] Error 2 >make: Leaving directory `/s

Re: Cron Service Cannot Start: System error 1069 has occurred.

2013-04-11 Thread Larry Hall (Cygwin)
On 4/10/2013 4:47 AM, Jun Iriola wrote: Hi, I would like to seek your help on how to execute again the cron in my pc. I've manage to configure and run the cron last week by reading the step by step procedure and also by running cygwin as an Administrator. That's not what your cygcheck output

Re: [cron-config] Possible issue with administrators group ?

2012-05-31 Thread AZ 9901
2012/5/31 Dirk Sondermann : > On 31.05.2012 15:45, AZ 9901 wrote: >> 2012/5/31 Eric Blake : >>> On 05/31/2012 05:18 AM, AZ 9901 wrote: 2012/5/29 AZ 9901 : > Hello, > > I am looking at the /bin/cron-config script. > > Line 627, we can find : > elif net localgroup "${_adm

Re: [cron-config] Possible issue with administrators group ?

2012-05-31 Thread Dirk Sondermann
On 31.05.2012 15:45, AZ 9901 wrote: > 2012/5/31 Eric Blake : >> On 05/31/2012 05:18 AM, AZ 9901 wrote: >>> 2012/5/29 AZ 9901 : Hello, I am looking at the /bin/cron-config script. Line 627, we can find : elif net localgroup "${_admingroup}" | grep -Eiq "^${username}.?$"

Re: [cron-config] Possible issue with administrators group ?

2012-05-31 Thread AZ 9901
2012/5/31 Eric Blake : > On 05/31/2012 05:18 AM, AZ 9901 wrote: >> 2012/5/29 AZ 9901 : >>> Hello, >>> >>> I am looking at the /bin/cron-config script. >>> >>> Line 627, we can find : >>> elif net localgroup "${_admingroup}" | grep -Eiq "^${username}.?$"; then >>> >>> Why .? at the end of the regexp

Re: [cron-config] Possible issue with administrators group ?

2012-05-31 Thread Eric Blake
On 05/31/2012 05:18 AM, AZ 9901 wrote: > 2012/5/29 AZ 9901 : >> Hello, >> >> I am looking at the /bin/cron-config script. >> >> Line 627, we can find : >> elif net localgroup "${_admingroup}" | grep -Eiq "^${username}.?$"; then >> >> Why .? at the end of the regexp ? "^${username}.?$" Because 'net

Re: [cron-config] Possible issue with administrators group ?

2012-05-31 Thread AZ 9901
2012/5/29 AZ 9901 : > Hello, > > I am looking at the /bin/cron-config script. > > Line 627, we can find : > elif net localgroup "${_admingroup}" | grep -Eiq "^${username}.?$"; then > > Why .? at the end of the regexp ? "^${username}.?$" > > We could have problems if for example we already have "use

Re: cron

2012-01-10 Thread Rolf Schlagenhaft
Hello again, problem solved! I regenerated my /etc/passwd and configured cron to run as "me". Please ignore my request. Rolf Am 10.01.2012 22:25, schrieb Rolf Schlagenhaft: Hello, after updating to cygwin 1.7, I can't get cron running again. I tried all kind of different options, used cron_

Re: cron

2012-01-10 Thread Larry Hall (Cygwin)
On 1/10/2012 4:25 PM, Rolf Schlagenhaft wrote: Strangely it reports "tabs/Rolf" as owner. What does the line in '/etc/passwd' have for "Rolf"? -- Larry _ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow

Re: cron log file empty

2011-12-17 Thread Mike Brown
On Sat, Dec 17, 2011 at 12:16:02PM -0500, Pierre A. Humblet wrote: > That's weird also because there is no uid 0 in the /etc/passwd you sent > earlier. You're right. I never even noticed that. Also explains why there wasn't a user name associated with the UID. D'Oh! > Could there be some confu

Re: cron still not working - even after rerunning cron config

2011-12-17 Thread Mike Brown
On Sat, Dec 17, 2011 at 06:52:16PM +0400, Andrey Repin wrote: > nnCron, then? > http://nncron.ru/ > nnCron supports that, if memory not deceiving me. As pointed out in a followup posting, I reverted back to version 1.5 and all is working again. MB -- e-mail: vid...@vidiot.com | vid...@vidiot.net

Re: cron log file empty

2011-12-17 Thread Mike Brown
On Sat, Dec 17, 2011 at 09:04:38AM -0500, Pierre A. Humblet wrote: > cron logs to syslog, which by default uses the Windows log and which you > can read directly in Windows or filter with cronevents. Good to know for the future. > It's the first time I can recall where this is a problem, except

Re: cron still not working - even after rerunning cron config

2011-12-17 Thread Andrey Repin
Greetings, Mike Brown! >> Sorry that I can't help you with your cron problem, but have you >> considered using the Windows Task Scheduler instead given the urgency of >> your situation? It can be used to kick off Cygwin processes just like >> any other. You'll need to wrap your existing tasks wi

Re: cron still not working - even after rerunning cron config

2011-12-16 Thread Mike Brown
On Fri, Dec 16, 2011 at 03:27:16PM -0600, Jesse Ziser wrote: > You could always use remote desktop if you're having problems with ssh > (again, given the urgency of your situation). I might put the third-party sshd back in. While RD is an option, because of the heavy load on the DSL, it tends to

Re: cron still not working - even after rerunning cron config

2011-12-16 Thread Mike Brown
On Fri, Dec 16, 2011 at 04:21:45PM -0500, Pierre A. Humblet wrote: > Yes, it is in /var/cron/tabs/ Found it. I went looking for "tabs" and found it. > Problems like this have been reported when a user is both a local user > and a domain user (2 entries in /etc/passwd). > Cron with suid

Re: cron still not working - even after rerunning cron config

2011-12-16 Thread Jesse Ziser
On 12/16/2011 2:42 PM, Mike Brown wrote: On Fri, Dec 16, 2011 at 02:38:27PM -0600, Jeremy Bopp wrote: Sorry that I can't help you with your cron problem, but have you considered using the Windows Task Scheduler instead given the urgency of your situation? It can be used to kick off Cygwin proce

RE: cron still not working - even after rerunning cron config

2011-12-16 Thread Pierre A. Humblet
> -Original Message- > From: Mike Brown > Sent: Friday, December 16, 2011 15:31 > To: cygwin mail list > > I desperately need to get this fixed as I will be leaving for a trip on the 20th and > have some cron stuff to run while I am gone. > > I ran cron-diagnose.sh, which now runs the

Re: cron still not working - even after rerunning cron config

2011-12-16 Thread Mike Brown
On Fri, Dec 16, 2011 at 02:38:27PM -0600, Jeremy Bopp wrote: > Sorry that I can't help you with your cron problem, but have you > considered using the Windows Task Scheduler instead given the urgency of > your situation? It can be used to kick off Cygwin processes just like > any other. You'll ne

Re: cron still not working - even after rerunning cron config

2011-12-16 Thread Jeremy Bopp
On 12/16/2011 02:31 PM, Mike Brown wrote: > I desperately need to get this fixed as I will be leaving for a trip on > the 20th and have some cron stuff to run while I am gone. > > I ran cron-diagnose.sh, which now runs the cron-config, and changed from > just-me to local system and that still didn

Re: CRON running but not triggering tasks

2011-10-07 Thread Cyrille Lefevre
Le 06/10/2011 12:36, Juan Huerta a écrit : Hi, which os ? 7) I start CRON as follows: cygrunsrv --stop cron&& cygrunsrv --remove cron&& cygrunsrv --install cron -p /usr/sbin/cron -a -n&& cygrunsrv --start cron let's try cron-config My questions are: 1) What logs can I look at? /var/l

Re: cron

2011-08-31 Thread Larry Hall (Cygwin)
On 8/25/2011 6:27 AM, kishore wrote: Larry Hall (Cygwin cygwin.com> writes: On 8/24/2011 12:08 PM, mramakishore gmail.com wrote: HI, I am sucessed to run the Perl script which uses Net::SSH::Expect package from the cygwin command prompt. but i am scheduled the same script through crontab b

Re: cron

2011-08-28 Thread kishore
Larry Hall (Cygwin cygwin.com> writes: > > On 8/24/2011 12:08 PM, mramakishore gmail.com wrote: > > HI, > > I am sucessed to run the Perl script which uses Net::SSH::Expect > > package from the cygwin command prompt. but i am scheduled the same > > script through crontab but script is breaking

Re: cron

2011-08-24 Thread Larry Hall (Cygwin)
On 8/24/2011 12:08 PM, mramakish...@gmail.com wrote: HI, I am sucessed to run the Perl script which uses Net::SSH::Expect package from the cygwin command prompt. but i am scheduled the same script through crontab but script is breaking in middle. can you help me as early as possible.. Firs

Re: Cron service spawns windowless child, how to create a window?

2011-01-09 Thread Reini Urban
2011/1/9 Błażej : > Let me first explain the setup a little. I have a Windows PE app > (written in Delphi) that I want to keep running at all times and also > bullet-proof it against http connection timeouts, file reading errors > etc. It logs its actions periodically to a logfile so based on wheth

Re: Cron 'WRONG FILE OWNER' Problem Cygwin 1.7/Windows 7

2010-12-15 Thread Pierre A. Humblet
At 04:56 PM 12/15/2010, Bruce Bailey wrote: Hi I had been happily using 'cron' on cygwin for quite a while. After updating the user password using cron-config, suddenly cron refuses to read my cron tab, putting 'WRONG FILE OWNER' in the Windows application log. Has this been seen and resol

Re: Cron 'WRONG FILE OWNER' Problem Cygwin 1.7/Windows 7

2010-12-15 Thread Larry Hall (Cygwin)
On 12/15/2010 4:56 PM, Bruce Bailey wrote: Hi I had been happily using 'cron' on cygwin for quite a while. After updating the user password using cron-config, suddenly cron refuses to read my cron tab, putting 'WRONG FILE OWNER' in the Windows application log. Have you stopped and restarted

Re: Cron jobs don't run

2010-11-02 Thread Janos Dohanics
On Mon, 01 Nov 2010 21:14:38 -0400 "Pierre A. Humblet" wrote: > At 04:59 PM 11/1/2010, Janos Dohanics wrote: > >I'm trying to set up cron jobs in a new cygwin installation. The cron > >service is running, but jobs are not executed. > > > >I ran cron_diagnose.sh which says "The SYSTEM user cannot

Re: Cron jobs don't run

2010-11-01 Thread Pierre A. Humblet
At 04:59 PM 11/1/2010, Janos Dohanics wrote: I'm trying to set up cron jobs in a new cygwin installation. The cron service is running, but jobs are not executed. I ran cron_diagnose.sh which says "The SYSTEM user cannot access the mount point /usr/bin". mount shows: On cygwin 1.5: C:~: fgrep -

Re: cron fails to start as a service in Win2k3R2 64bit

2010-08-20 Thread Pierre A. Humblet
- Original Message - From: "Blaine Miller" < To: Sent: Friday, August 20, 2010 11:33 | Pierre, | | I tried using cron-config and it failed. Please find attached my | cronbug.txt... OK, I see that you are running cron as yourself (Administrator). The problem is that you have several

Re: cron fails to start as a service in Win2k3R2 64bit

2010-08-20 Thread Blaine Miller
Pierre, I tried using cron-config and it failed. Please find attached my cronbug.txt... Thanks again for your continued time and assistance. Blaine Pierre A. Humblet wrote: - Original Message - From: "Blaine Miller" To: Sent: Thursday, August 19, 2010 17:47 | The only way I've

Re: cron fails to start as a service in Win2k3R2 64bit

2010-08-20 Thread Blaine Miller
Pierre, I'm trying it now. No, I didn't know this was the preferred method of installing cron as a service. I've been installing/reinstalling everything from the cygwin *setup.exe*. I've looked at the log files and they seem pretty unremarkable. I'll run cronbug after I try the cron-config c

Re: cron fails to start as a service in Win2k3R2 64bit

2010-08-20 Thread Pierre A. Humblet
- Original Message - From: "Blaine Miller" To: Sent: Thursday, August 19, 2010 17:47 | The only way I've been able to get cron running is manually by starting | the crond via execution of cron.exe. | | Attached are my cygcheck.txt and crontab. | | I get the following error after I i

Re: Cron & Windows 2003 Server

2010-07-24 Thread Abdelkarim Mateos Sanchez
I'll see. But this it's round the problem. Question it's correct problem with cron (vixie) A nice day. El 24/07/10 10:17, Andrey Repin escribió: Greetings, Abdelkarim Mateos Sanchez! I looking for solution for install cron on cygwin and windows 2003 server and read http://www.lumdev.net/no

Re: Cron & Windows 2003 Server

2010-07-24 Thread Andrey Repin
Greetings, Abdelkarim Mateos Sanchez! > I looking for solution for install cron on cygwin and windows 2003 > server and read http://www.lumdev.net/node/2115#comment-5761 Have you looked into nnCron? http://www.nncron.ru/ -- WBR, Andrey Repin (anrdae...@freemail.ru) 24.07.2010, <13:15> Sorry f

Re: cron starts multiple commands

2010-07-20 Thread Matthias Andree
Am 20.07.2010, 19:15 Uhr, schrieb matias kaukonen: I'm using cron to backup my files. The problem is cron seems to repeat the backup every minute for 5 minutes. Pls refer to my cron file. ---

Re: cron visual output looks funny

2010-05-16 Thread Larry Hall (Cygwin)
On 5/14/2010 10:49 PM, Stephen Morton wrote: On Sun, 02 May 2010 16:25:07 +0200 Johannes Müller Wrote: I installed and use cron on windows xp using cygwin. It works fine for non-GUI applications, but for instance notepad does not seem to>start at all. And a popup-window-script I wrote in python

Re: cron visual output looks funny

2010-05-05 Thread Johannes Müller
On 02.05.2010 17:52, Johannes Müller wrote: Johannes Müller wrote: Hi, I installed and use cron on windows xp using cygwin. It works fine for non-GUI applications, but for instance notepad does not seem to start at all. And a popup-window-script I wrote in python does appear and react to userin

Re: cron error can't switch user context

2010-04-17 Thread Cyrille Lefevre
Le 17/04/2010 01:43, Tom Schutter a écrit : On Fri 2010-04-16 17:06, Cyrille Lefevre wrote: Le 16/04/2010 20:42, Tom Schutter a écrit : http://www.cygwin.com/acronyms/#PCYMTWLL I have number of machines running Windows2003 and Cygwin 1.7.5. On most cron works. But on one (lemon) it does

Re: cron error can't switch user context

2010-04-16 Thread Tom Schutter
On Fri 2010-04-16 17:06, Cyrille Lefevre wrote: > > Le 16/04/2010 20:42, Tom Schutter a écrit : > > > > I have number of machines running Windows2003 and Cygwin 1.7.5. On most > > cron works. But on one (lemon) it does not. It appears that on lemon cron > > cannot switch the user context. > >

Re: cron error can't switch user context

2010-04-16 Thread Cyrille Lefevre
Le 17/04/2010 00:06, Cyrille Lefevre a écrit : cygserver is not running on any machine. 2K3 may need cygserver as well as passwd -D? s/-D/-R/ sorry Cordialement, Cyrille Lefevre -- mailto:cyrille.lefevre-li...@laposte.net -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: cron error can't switch user context

2010-04-16 Thread Cyrille Lefevre
Le 16/04/2010 20:42, Tom Schutter a écrit : I have number of machines running Windows2003 and Cygwin 1.7.5. On most cron works. But on one (lemon) it does not. It appears that on lemon cron cannot switch the user context. Cronevents on lemon shows: 2010/04/15 17:19:01 [SYSTEM] /usr/sbin/

Re: cron error can't switch user context

2010-04-16 Thread Pierre A. Humblet
- Original Message - From: "Tom Schutter" To: cygwin Sent: Friday, April 16, 2010 15:29 |I have attached cronbug.txt as per the cron-config instructions. | | Note that the original cronbug.txt was over 5MB. I edited cronbug.txt and removed 46000 lines of cronevents output. Is there a

Re: cron error can't switch user context

2010-04-16 Thread Tom Schutter
I have attached cronbug.txt as per the cron-config instructions. Note that the original cronbug.txt was over 5MB. I edited cronbug.txt and removed 46000 lines of cronevents output. Is there any way of cleaning out old cron entries from the event log? On Fri 2010-04-16 13:42, Tom Schutter wrot

Re: cron not working

2010-03-29 Thread Rajashekar Chintalapati
Thanks for letting me know the problem. It worked after giving some time. Rajashekar. On Sun, Mar 28, 2010 at 5:44 PM, Pierre A. Humblet wrote: > At 06:22 PM 3/28/2010, Rajashekar Chintalapati wrote: >> >> Hi, >>  I am trying to run a simple script using crontab. >> >> $ more /cygdrive/c/list >>

Re: cron not working

2010-03-28 Thread jurriaan
From: Rajashekar Chintalapati Date: Sun, Mar 28, 2010 at 02:22:57PM -0800 > Hi, > ? I am trying to run a simple script using crontab. > > $ more /cygdrive/c/list > ls -ltr /cygdrive/c/ > /tmp/li.txt > > 2010/03/28 01:01:01 [SYSTEM] /usr/sbin/cron: PID 4068: (Administrator) > CMD (/cygdrive/c/lis

Re: cron-config has a debug "set -x"

2010-03-11 Thread Pierre A. Humblet
- Original Message - From: "Tom Schutter" To: cygwin Sent: Thursday, March 11, 2010 14:36 | The current cron-config has as the second line: | | set -x Thanks for the report. I will fix that this evening. Pierre -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: cron fails to run as a service

2010-03-02 Thread Pierre A. Humblet
- Original Message - From: "Paul McFerrin" < To: "Pierre A. Humblet" Sent: Tuesday, March 02, 2010 12:03 | Pierre A. Humblet wrote: | > | > Some of your problems are due to launching a new cron daemon while an | > old one is still running. | | What "old" cron. This is the firts setup

Re: cron fails to run as a service

2010-03-02 Thread Pierre A. Humblet
At 02:13 AM 3/2/2010, Paul McFerrin wrote: I've been using "cron" for more that a few weeks without any problems, until my needs changed. I installed cron as a service using "cygrunsrv". I keep getting errors about creating lockfile. I removed the lockfile but it got created again. At firs

Re: cron & Windows 7

2010-02-12 Thread Corinna Vinschen
On Feb 12 14:19, Pierre A. Humblet wrote: > From: "Corinna Vinschen" > | On Feb 12 13:33, Pierre A. Humblet wrote: > | >| > Matthias just tested what I did last night, which was based on what > | > you had sent, but also defining well_known_users_sid in security.h etc.. > | > | Sorry, but I don'

Re: cron & Windows 7

2010-02-12 Thread Pierre A. Humblet
- Original Message - From: "Corinna Vinschen" To: Sent: Friday, February 12, 2010 13:47 | On Feb 12 13:33, Pierre A. Humblet wrote: | >| > Matthias just tested what I did last night, which was based on what | > you had sent, but also defining well_known_users_sid in security.h etc..

Re: cron & Windows 7

2010-02-12 Thread Corinna Vinschen
On Feb 12 13:33, Pierre A. Humblet wrote: > From: "Corinna Vinschen" > | On Feb 12 18:39, Corinna Vinschen wrote: > | > Cool! Look at the date! So I did it again wrong after you already > | > fixed it in 2002. Oh well. Btw, I tested this today and it seems the > | > patch is working. I'll jus

Re: cron & Windows 7

2010-02-12 Thread Pierre A. Humblet
- Original Message - From: "Corinna Vinschen" Sent: Friday, February 12, 2010 12:4311474 | On Feb 12 18:39, Corinna Vinschen wrote: | > On Feb 12 10:19, Pierre A. Humblet wrote: | > > From: "Corinna Vinschen" | > > | I think it was always there, but I'm not sure. | > > | > > It's hard

Re: cron & Windows 7

2010-02-12 Thread Corinna Vinschen
On Feb 12 18:39, Corinna Vinschen wrote: > On Feb 12 10:19, Pierre A. Humblet wrote: > > From: "Corinna Vinschen" > > | I think it was always there, but I'm not sure. > > > > It's hard to believe that the bug has always been there on foreign > > machines... > > A few other things: > > > > 1) I h

Re: cron & Windows 7

2010-02-12 Thread Corinna Vinschen
On Feb 12 10:19, Pierre A. Humblet wrote: > From: "Corinna Vinschen" > | I think it was always there, but I'm not sure. > > It's hard to believe that the bug has always been there on foreign machines... > A few other things: > > 1) I had the feeling that we have already discussed this in the past

Re: cron & Windows 7

2010-02-12 Thread Pierre A. Humblet
- Original Message - From: "Corinna Vinschen" To: Sent: Friday, February 12, 2010 5:09 | On Feb 11 18:01, Pierre A. Humblet wrote: | > - Original Message - | > From: "Corinna Vinschen" | > To: | > Sent: Thursday, February 11, 2010 13:52 | > | | > | Uh oh. Is the name of the BUI

Re: cron & Windows 7

2010-02-12 Thread Corinna Vinschen
On Feb 11 18:01, Pierre A. Humblet wrote: > - Original Message - > From: "Corinna Vinschen" > To: > Sent: Thursday, February 11, 2010 13:52 > | > | Uh oh. Is the name of the BUILTIN group not BUILTIN on non-English > | systems? If so, the code in get_user_local_groups must be changed

Re: cron & Windows 7

2010-02-11 Thread Larry Hall (Cygwin)
On 02/11/2010 06:17 PM, Robert Pendell wrote: On Thu, Feb 11, 2010 at 6:01 PM, Pierre A. Humblet wrote: - Original Message - From: "Corinna Vinschen" To: Sent: Thursday, February 11, 2010 13:52 | | Uh oh. Is the name of the BUILTIN group not BUILTIN on non-English | systems? If so, the

Re: cron & Windows 7

2010-02-11 Thread Robert Pendell
On Thu, Feb 11, 2010 at 6:01 PM, Pierre A. Humblet wrote: > - Original Message - > From: "Corinna Vinschen" > To: > Sent: Thursday, February 11, 2010 13:52 > | > | Uh oh.  Is the name of the BUILTIN group not BUILTIN on non-English > | systems?  If so, the code in get_user_local_groups mus

Re: cron & Windows 7

2010-02-11 Thread Pierre A. Humblet
- Original Message - From: "Corinna Vinschen" To: Sent: Thursday, February 11, 2010 13:52 | | Uh oh. Is the name of the BUILTIN group not BUILTIN on non-English | systems? If so, the code in get_user_local_groups must be changed to | emit the correct name, rather than just storing the

Re: cron & Windows 7

2010-02-11 Thread Corinna Vinschen
On Feb 11 12:52, Pierre A. Humblet wrote: > > - Original Message - > From: "Corinna Vinschen" > To: > Sent: Thursday, February 11, 2010 10:17 > | > | If a domain isn't involved, why fails loading user32 DLL?!? In that > | case there should be no issue with the user account since the l

Re: cron & Windows 7

2010-02-11 Thread Pierre A. Humblet
- Original Message - From: "Corinna Vinschen" To: Sent: Thursday, February 11, 2010 10:17 | | If a domain isn't involved, why fails loading user32 DLL?!? In that | case there should be no issue with the user account since the local | SAM replies with the correct group list. Or not?!?

Re: cron & Windows 7

2010-02-11 Thread Corinna Vinschen
On Feb 11 09:54, Pierre A. Humblet wrote: > From: "Corinna Vinschen" > | No, that's not related. But we had a few reports on the list already > | concerning sshd and it seemed to be a problem with using a non-Domain > | cyg_server user running sshd, which lead to a crippled token: > | http://cygw

Re: cron & Windows 7

2010-02-11 Thread Pierre A. Humblet
- Original Message - From: "Corinna Vinschen" To: Sent: Thursday, February 11, 2010 8:41 | | No, that's not related. But we had a few reports on the list already | concerning sshd and it seemed to be a problem with using a non-Domain | cyg_server user running sshd, which lead to a cr

Re: cron & Windows 7

2010-02-11 Thread Matthias Andree
Am 11.02.2010 14:41, schrieb Corinna Vinschen: > On Feb 11 08:25, Pierre A. Humblet wrote: >> - Original Message - >> From: "Shaddy Baddah" >> To: "Pierre A. Humblet" >> Cc: cygwin >> Sent: Wednesday, February 10, 2010 23:36 >> >> >> | Hi, >> | >> | On 11/02/2010 3:28 AM, Pierre A. Humbl

Re: cron & Windows 7

2010-02-11 Thread Corinna Vinschen
On Feb 11 08:25, Pierre A. Humblet wrote: > - Original Message - > From: "Shaddy Baddah" > To: "Pierre A. Humblet" > Cc: cygwin > Sent: Wednesday, February 10, 2010 23:36 > > > | Hi, > | > | On 11/02/2010 3:28 AM, Pierre A. Humblet wrote: > | > I got reports that cron is having problems

Re: cron & Windows 7

2010-02-11 Thread Pierre A. Humblet
- Original Message - From: "Shaddy Baddah" To: "Pierre A. Humblet" Cc: cygwin Sent: Wednesday, February 10, 2010 23:36 | Hi, | | On 11/02/2010 3:28 AM, Pierre A. Humblet wrote: | > I got reports that cron is having problems with Cygwin 1.7.1 on | > Windows 7 - 32 bits. | > They occur onl

Re: cron & Windows 7

2010-02-10 Thread Shaddy Baddah
Hi, On 11/02/2010 3:28 AM, Pierre A. Humblet wrote: I got reports that cron is having problems with Cygwin 1.7.1 on Windows 7 - 32 bits. They occur only with seteuid method 1, not with method 2 nor method 3. Based purely on the above (and not the rest of the report... sorry) I suspect it migh

Re: Cron on Windows 7 as a Service Does Not Execute Jobs

2009-11-21 Thread Szatmary Janos
Pierre, sshd, exim and cron all work correctly under Cygwin 1.7.0 and Windows 7 32-bit. CYGWIN_NT-6.1 host 1.7.0(0.218/5/3) 2009-11-19 10:07 i686 Cygwin Regards, John On Nov 20, 2009, at 10:53 PM, Janos Szatmary wrote: > This is CYGWIN_NT-6.1 host 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin

Re: Cron on Windows 7 as a Service Does Not Execute Jobs

2009-11-20 Thread Janos Szatmary
This is CYGWIN_NT-6.1 host 1.5.25(0.156/4/2) 2008-06-12 19:34 i686 Cygwin Since this was a test for a stable environment I didn't want to use a beta release. Yes, "user" is the user name, which I created specifically for testing (you may notice some output shows "janos" which is my actual accoun

Re: Cron on Windows 7 as a Service Does Not Execute Jobs

2009-11-20 Thread Pierre A. Humblet
At 06:43 PM 11/20/2009, randomerror wrote: All, I can't seem to get cron to execute jobs under Windows 7 (Ultimate.) Here are the things I've done... Installed cygwin for all users, and fixed some permission problems. Configured sshd and it works fine.

Re: cron cannot change user

2009-08-14 Thread Mike Schmidt
Pierre A. Humblet wrote: - Original Message - From: "Mike Schmidt" To: "Pierre A. Humblet" Cc: Sent: Friday, August 14, 2009 2:18 AM | | Pierre A. Humblet wrote: | > - Original Message - | > From: "Mike Schmidt" | > To: cygwin | > Sent: Thursday, August 13, 2009 2:09 PM |

Re: cron cannot change user

2009-08-14 Thread Pierre A. Humblet
- Original Message - From: "Mike Schmidt" To: "Pierre A. Humblet" Cc: Sent: Friday, August 14, 2009 2:18 AM | | Pierre A. Humblet wrote: | > - Original Message - | > From: "Mike Schmidt" | > To: cygwin | > Sent: Thursday, August 13, 2009 2:09 PM | > | > | > | On all the system

Re: cron cannot change user

2009-08-13 Thread Pierre A. Humblet
- Original Message - From: "Mike Schmidt" To: cygwin Sent: Thursday, August 13, 2009 2:09 PM | On all the systems where cron works I did NOT run cron-config. I used | the following line to install cron: | cygrunsrv --install cron --path=/usr/sbin/cron --desc='Cygwin cron | service' --t

Re: cron cannot change user

2009-08-13 Thread Pierre A. Humblet
- Original Message - From: "Mike Schmidt" To: cygwin Sent: Thursday, August 13, 2009 10:10 AM |I am running cygwin 1.5.25-15 on a number of sites, most of the Windows | XP. I have at least one occasion where I have two identical systems | side-by-side, configured the same way (same log

Re: Cron jobs visible

2009-08-10 Thread Mark J. Reed
On Mon, Aug 10, 2009 at 5:17 PM, Christopher Faylor wrote: > Actually, I meant Cgywin 1.7.  Sorry for the cornfusion. cgf apologizes! In writing! Alert the media! :) -- Mark J. Reed -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Docum

Re: Cron jobs visible

2009-08-10 Thread Christopher Faylor
On Mon, Aug 10, 2009 at 04:44:09PM -0400, Larry Hall (Cygwin) wrote: >On 08/10/2009 04:07 PM, Ralph Hempel wrote: >> Christopher Faylor wrote: >>> On Mon, Aug 10, 2009 at 02:54:28PM -0400, Larry Hall (Cygwin) wrote: On 08/10/2009 12:44 PM, Corinna Vinschen wrote: > And ther

Re: Cron jobs visible

2009-08-10 Thread Larry Hall (Cygwin)
On 08/10/2009 04:07 PM, Ralph Hempel wrote: Christopher Faylor wrote: On Mon, Aug 10, 2009 at 02:54:28PM -0400, Larry Hall (Cygwin) wrote: On 08/10/2009 12:44 PM, Corinna Vinschen wrote: And there's no way back after an update. But as I noted in my zillion (apparently unread) test announcem

Re: Cron jobs visible

2009-08-10 Thread Ralph Hempel
Christopher Faylor wrote: On Mon, Aug 10, 2009 at 02:54:28PM -0400, Larry Hall (Cygwin) wrote: On 08/10/2009 12:44 PM, Corinna Vinschen wrote: And there's no way back after an update. But as I noted in my zillion (apparently unread) test announcements, it's no problem to run 1.5 and 1.7 ins

Re: Cron jobs visible

2009-08-10 Thread Christopher Faylor
On Mon, Aug 10, 2009 at 02:54:28PM -0400, Larry Hall (Cygwin) wrote: >On 08/10/2009 12:44 PM, Corinna Vinschen wrote: > > > >> And there's no way back after an update. But as I noted in my zillion >> (apparently unread) test announcements, it's no problem to run 1.5 and >> 1.7 installations in sep

Re: Cron jobs visible

2009-08-10 Thread Larry Hall (Cygwin)
On 08/10/2009 12:44 PM, Corinna Vinschen wrote: And there's no way back after an update. But as I noted in my zillion (apparently unread) test announcements, it's no problem to run 1.5 and 1.7 installations in separate directories side-by-side. I don't know about anyone else, but I plan to

Re: Cron jobs visible

2009-08-10 Thread Corinna Vinschen
On Aug 10 18:31, Thorsten Kampe wrote: > * Corinna Vinschen (Mon, 10 Aug 2009 16:38:54 +0200) > > On Aug 10 14:15, Thorsten Kampe wrote: > > > * Corinna Vinschen (Mon, 10 Aug 2009 13:34:25 +0200) > > > > On Aug 10 12:57, Thorsten Kampe wrote: > > > > > I upgraded to Windows 7 on Sunday and now when

Re: Cron jobs visible

2009-08-10 Thread Christopher Faylor
On Mon, Aug 10, 2009 at 06:31:53PM +0200, Thorsten Kampe wrote: >* Corinna Vinschen (Mon, 10 Aug 2009 16:38:54 +0200) >>On Aug 10 14:15, Thorsten Kampe wrote: >>>* Corinna Vinschen (Mon, 10 Aug 2009 13:34:25 +0200) On Aug 10 12:57, Thorsten Kampe wrote: >I upgraded to Windows 7 on Sunday an

Re: Cron jobs visible

2009-08-10 Thread Thorsten Kampe
* Corinna Vinschen (Mon, 10 Aug 2009 16:38:54 +0200) > On Aug 10 14:15, Thorsten Kampe wrote: > > * Corinna Vinschen (Mon, 10 Aug 2009 13:34:25 +0200) > > > On Aug 10 12:57, Thorsten Kampe wrote: > > > > I upgraded to Windows 7 on Sunday and now whenever cron runs a job, > > > > the new forked cron

  1   2   3   4   5   6   >