Re: Cannot set up cron as a service on corporate PC

2023-12-12 Thread Adam Dinwoodie via Cygwin
On Mon, Dec 11, 2023 at 02:07:08PM +, Jon Turney wrote: > On 09/12/2023 21:55, Adam Dinwoodie via Cygwin wrote: > > Hi, > > > > I've been trying to set up Cygwin cron to work as a service on my work > > PC. I'm able to get it working just fine on a Windows

Re: Cannot set up cron as a service on corporate PC

2023-12-11 Thread Jon Turney via Cygwin
On 09/12/2023 21:55, Adam Dinwoodie via Cygwin wrote: Hi, I've been trying to set up Cygwin cron to work as a service on my work PC. I'm able to get it working just fine on a Windows system where I'm using a personal Microsoft account, but when I attempt the same process using on a Windows

Re: Cannot set up cron as a service on corporate PC

2023-12-11 Thread Adam Dinwoodie via Cygwin
On Sun, Dec 10, 2023 at 09:22:12AM -0700, Brian Inglis via Cygwin wrote: > On 2023-12-09 14:55, Adam Dinwoodie via Cygwin wrote: > > I've been trying to set up Cygwin cron to work as a service on my work > > PC. I'm able to get it working just fine on a Windows system wher

Re: Cannot set up cron as a service on corporate PC

2023-12-10 Thread Brian Inglis via Cygwin
On 2023-12-09 14:55, Adam Dinwoodie via Cygwin wrote: I've been trying to set up Cygwin cron to work as a service on my work PC. I'm able to get it working just fine on a Windows system where I'm using a personal Microsoft account, but when I attempt the same process using on a Windows system

Cannot set up cron as a service on corporate PC

2023-12-09 Thread Adam Dinwoodie via Cygwin
Hi, I've been trying to set up Cygwin cron to work as a service on my work PC. I'm able to get it working just fine on a Windows system where I'm using a personal Microsoft account, but when I attempt the same process using on a Windows system using my work account, I get the following error

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

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

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

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

2023-05-23 Thread Jonathan Clark via Cygwin
Hi there: 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 something stupid (probably more than one

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

2021-07-20 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

Using /etc/cron.{daily, weekly, monthly} on Cygwin (/usr/bin/run-parts)

2021-06-09 Thread Joe Smith via Cygwin
at regular intervals (daily,weekly,monthly) # Concept taken from Debian, copied from RHEL-5, modified for Cygwin. # See end for "How to run cron jobs with elevated privs on Cygwin". ### Set ENV to run under Windows Task Scheduler ### export SHELL=/bin/bash export PATH=/sbin:/bin:/usr/sbi

Re: Cron can't switch user context

2021-04-27 Thread Andrey Repin
anged to use LocalSystem account and some new(-ish) facilities only available in Windows 7 and up to rebuild auth user token without using CygLSA or what not. This affecting SSHD, Cron and any other Cygwin daemon dealing with user authorization. >> We would be very glad if you could give us some

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

Cron can't switch user context

2021-04-27 Thread Peter Pfannenschmid
Dear ladies and gentlemen, thank you very much for providing the Cygwin DLL and ecosystem. We are using it since many years without any problem. 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

Re: CRON executes CRONTABS only when run from terminal as "/usr/sbin/cron &"

2020-11-25 Thread Brian Inglis
18363) I installed using cron-config, and created the cyg_server user.cron starts OK, but does not appear to execute the crontabs. No messages or errors in /var/log/cron.log. $ cygrunsrv -Q cron Service : cron Display name: Cron daemon Current State : Running Controls

Re: CRON executes CRONTABS only when run from terminal as "/usr/sbin/cron &"

2020-11-25 Thread Stephen Carrier
gt; Cygwin > > > > > > > > Windows info: > > > > $ /lib/csih/winProductName.exeMicrosoft Windows 10 Professional, > > > > 64-bit (build 18363) > > > > > > > > I installed using cron-config, and created the cyg_server user.cron

Re: CRON executes CRONTABS only when run from terminal as "/usr/sbin/cron &"

2020-11-16 Thread Stephen Carrier
22 17:48 x86_64 > > Cygwin > > > > Windows info: > > $ /lib/csih/winProductName.exeMicrosoft Windows 10 Professional, > > 64-bit (build 18363) > > > > I installed using cron-config, and created the cyg_server user.cron > > starts OK, but does not appe

Re: CRON executes CRONTABS only when run from terminal as "/usr/sbin/cron &"

2020-11-16 Thread Stephen Carrier
eMicrosoft Windows 10 Professional, > 64-bit (build 18363) > > I installed using cron-config, and created the cyg_server user.cron > starts OK, but does not appear to execute the crontabs. > No messages or errors in /var/log/cron.log. > > $ cygrunsrv -Q cron > Service

CRON executes CRONTABS only when run from terminal as "/usr/sbin/cron &"

2020-11-15 Thread Keith Christian via Cygwin
Cygwin people, Running with this version of Cygwin. CYGWIN_NT-10.0 DESKTOP-ASERVER 3.1.7(0.340/5/3) 2020-08-22 17:48 x86_64 Cygwin Windows info: $ /lib/csih/winProductName.exeMicrosoft Windows 10 Professional, 64-bit (build 18363) I installed using cron-config, and created the cyg_server

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:

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

Cron installation issue

2020-08-28 Thread Anantha . Kumar
Hi Team, 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? /home/_PSCGRM.ABInitioTst> cron-config Cron is already installed as a service under account DEVINT\_PSCGRM.ABInitioTst.

Re: How to start and verify cron?

2019-07-13 Thread Brian Inglis
On 2019-07-10 16:15, David Karr wrote: >>> > On Wed, Jul 10, 2019 at 10:20 AM Brian Inglis wrote: >>> > On 2019-07-10 10:55, David Karr wrote: >>> > > I've checked the user guide and the FAQ, and I can't find >>>

Re: How to start and verify cron?

2019-07-13 Thread Brian Inglis
On 2019-07-13 01:59, Henning wrote: > On 12/07/2019 17:20, Brian Inglis wrote: >> Do not forget to *ALWAYS* shut down all Cygwin services before running >> setup to upgrade any Cygwin packages. > Does this mean to also shut down cygserver before running setup? Yes - it's linked to cygwin1.dll.

Re: How to start and verify cron?

2019-07-13 Thread Henning
On 12/07/2019 17:20, Brian Inglis wrote: Do not forget to *ALWAYS* shut down all Cygwin services before running setup to upgrade any Cygwin packages. Does this mean to also shut down cygserver before running setup? Henning -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: How to start and verify cron?

2019-07-12 Thread David Karr
> On Wed, Jul 10, 2019 at 10:20 AM Brian Inglis wrote: > > > On 2019-07-10 10:55, David Karr wrote: > > > > I've checked the user guide and the FAQ, and I can't find > > any > > information > > >

Re: How to start and verify cron?

2019-07-12 Thread Brian Inglis
     On 2019-07-10 10:55, David Karr wrote: > >     > I've checked the user guide and the FAQ, and I can't find any > information > >     > about how to start cron and verify that it's working.  I found > other blog > > 

Re: How to start and verify cron?

2019-07-11 Thread René Berber
On 7/11/2019 5:57 PM, René Berber wrote: > parameter in the installation as service ("-L 1" in the cygrunsrv line Sorry this is not clear. I should have writen something like 'cygrunsrv -I ... -a "-L 1" ...' -- R.Berber -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: How to start and verify cron?

2019-07-11 Thread René Berber
On 7/11/2019 4:20 PM, David Karr wrote: >>>> How do I add service dependencies to start up in a particular order? >>> >>> In an elevated cmd or bash shell: >>> elevated > OR # sc config syslog-ng depend= cygserver >>> elevated > O

Re: How to start and verify cron?

2019-07-11 Thread Vince Rice
> On Jul 11, 2019, at 4:18 PM, David Karr wrote: > > I typically try to avoid top-posting, but I'm pretty sure I won't be able > to do anything about the mailer configuration. Then you'll need to fix it manually, like I just did on yours. Whichever it is, please stop including email addresses

Re: How to start and verify cron?

2019-07-11 Thread David Karr
ed the user guide and the FAQ, and I can't find any >> information >> > > about how to start cron and verify that it's working. I found >> other blog >> > > posts on other sites, but some of them are old. >> > >> > Did you run

Re: How to start and verify cron?

2019-07-11 Thread David Karr
On Thu, Jul 11, 2019 at 1:23 PM Vince Rice wrote: > > On Jul 11, 2019, at 3:12 PM, Vince Rice wrote: > > > >> On Jul 11, 2019, at 2:56 PM, David Karr wrote: > >> > >> It's curious that when I bring up the default "Packages" view, filtering > >> for "syslog-ng" doesn't find anything. I had to

Re: How to start and verify cron?

2019-07-11 Thread Vince Rice
> On Jul 11, 2019, at 3:12 PM, Vince Rice wrote: > >> On Jul 11, 2019, at 2:56 PM, David Karr wrote: >> >> It's curious that when I bring up the default "Packages" view, filtering >> for "syslog-ng" doesn't find anything. I had to switch to the Categories >> view, and then filtering for that

Re: How to start and verify cron?

2019-07-11 Thread Vince Rice
> On Jul 11, 2019, at 2:56 PM, David Karr wrote: > > It's curious that when I bring up the default "Packages" view, filtering > for "syslog-ng" doesn't find anything. I had to switch to the Categories > view, and then filtering for that found it. Not that curious. Setup's search is searching

Re: How to start and verify cron?

2019-07-11 Thread David Karr
wrote: > On 2019-07-10 16:15, David Karr wrote: > > On Wed, Jul 10, 2019 at 10:20 AM Brian Inglis wrote: > > On 2019-07-10 10:55, David Karr wrote: > > > I've checked the user guide and the FAQ, and I can't find any > information > > > about how to

Re: How to start and verify cron?

2019-07-10 Thread Brian Inglis
On 2019-07-10 16:15, David Karr wrote: > On Wed, Jul 10, 2019 at 10:20 AM Brian Inglis wrote: > On 2019-07-10 10:55, David Karr wrote: > > I've checked the user guide and the FAQ, and I can't find any > information > > about how to start cron and verify that i

Re: How to start and verify cron?

2019-07-10 Thread David Karr
On Wed, Jul 10, 2019 at 10:20 AM Brian Inglis < brian.ing...@systematicsw.ab.ca> wrote: > On 2019-07-10 10:55, David Karr wrote: > > I've checked the user guide and the FAQ, and I can't find any information > > about how to start cron and verify that it's working. I found

Re: How to start and verify cron?

2019-07-10 Thread Brian Inglis
On 2019-07-10 10:55, David Karr wrote: > I've checked the user guide and the FAQ, and I can't find any information > about how to start cron and verify that it's working. I found other blog > posts on other sites, but some of them are old. Did you run service setup script /bin/cron-conf

How to start and verify cron?

2019-07-10 Thread David Karr
I've checked the user guide and the FAQ, and I can't find any information about how to start cron and verify that it's working. I found other blog posts on other sites, but some of them are old. I had installed cron, and I thought it was working, but now I think that it is not. If I edit

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 th

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

cron running but not executing user crontab

2018-01-15 Thread Chris Johnson
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 user and it's in /var/cron/tabs by using crontab -e

Re: Vixie's cron and cron-config broken? /etc/passwd empty - Entry for the SYSTEM sid was not found in passwd. Unknown system name

2017-12-12 Thread OwN-3m-All
Anyone? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Vixie's cron and cron-config broken? /etc/passwd empty - Entry for the SYSTEM sid was not found in passwd. Unknown system name

2017-12-05 Thread OwN-3m-All
Is the current version of cron and cron-config broken? I tried installing cron (4.1-65) with the latest version of cygwin in Windows 10 x64 Pro When I run the following bash script to attempt to configure cron: cron-config << EOF yes ntsec no no no adminpass adminpass yes EOF

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. > >

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/

cron bug

2016-01-12 Thread Stefan Götz
Hello, I’ve 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 under my

Re: patch to cron

2015-11-21 Thread Corinna Vinschen
tro. Ideally you resend your message to the cygwin AT cygwin DOT com mailing list. I Bcc'ed the cron package maintainer so he can pick this up, though. Thanks, Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin

patch to cron

2015-11-20 Thread Andy Stevens
Hello Cygwin patchers, this is my first submission, hope I do OK. I have discovered a bug in Vixie's cron in the bash script /usr/bin/cron-config. The bug only appears on Windows 10 which has an NT version of "10.0". This breaks the version checking in the bash script. (Bash onl

RE: Unable to run excel via cron

2015-06-25 Thread Kertz, Denis (D)** CTR **
with getting cygwin/cron to function within the windows structure.) However, sometimes you get lucky even though you don't quite know what you are doing. Having given up on being able to run Excel from a cron I started investigating running a bash script via the windows task scheduler (http

RE: Unable to run excel via cron

2015-06-24 Thread Andy Hall
On 06/23/2015 09:39 AM, Kertz, Denis (D)** CTR ** wrote: I changed the cron setup to use cygserver as Corinna suggested. I used cron-config and cygserver-config to setup the cron and cygserver services and passwd -R to establish my password. Normal cron jobs run under this setup

RE: Unable to run excel via cron

2015-06-23 Thread Kertz, Denis (D)** CTR **
I changed the cron setup to use cygserver as Corinna suggested. I used cron-config and cygserver-config to setup the cron and cygserver services and passwd -R to establish my password. Normal cron jobs run under this setup but Excel still hangs as it did before. I also tried this on the Win7

Re: Unable to run excel via cron

2015-06-23 Thread Larry Hall (Cygwin)
On 06/23/2015 09:39 AM, Kertz, Denis (D)** CTR ** wrote: I changed the cron setup to use cygserver as Corinna suggested. I used cron-config and cygserver-config to setup the cron and cygserver services and passwd -R to establish my password. Normal cron jobs run under this setup but Excel

RE: Unable to run excel via cron

2015-06-18 Thread Kertz, Denis (D)** CTR **
cron under the specific cygwin login (not cyg_server). Presumably there is a solution to this problem. We have 3 Win7 Pro PCs and this works on one of the PCs (unfortunately, not the one where we need it to work) and fails on the other two PCs. The behavior here has always been somewhat

Re: Unable to run excel via cron

2015-06-17 Thread Larry Hall (Cygwin)
On 06/17/2015 12:55 PM, Kertz, Denis (D)** CTR ** wrote: We are running cron under the specific cygwin login (not cyg_server). Presumably there is a solution to this problem. We have 3 Win7 Pro PCs and this works on one of the PCs (unfortunately, not the one where we need it to work

RE: Unable to run excel via cron

2015-06-17 Thread Kertz, Denis (D)** CTR **
Excel programs via cron and are using vbscript to do this. We have this running on a WinXP machine but are having trouble running on a Win7 machine, but we don't think it is a Win7 problem. Here's the script to run a simple test excel program: Dim xlApp Dim xlWb Set xlApp = CreateObject

Re: Unable to run excel via cron

2015-06-17 Thread Corinna Vinschen
2003 (permissions of LocalSystem) may come into play here as well. Are you running cron under the cyg_server account on W7 (hopefully)? Two possible solutions come to mind: - Either there is no solution. The reason might be that Excel is expecting a GUI it can't connect to. - Or it's about

RE: Unable to run excel via cron

2015-06-17 Thread Kiehl, Horst
(Trying to remove TOFU to make the conversation appear chronological again and with correct attributions.) Kertz, Denis (D)** CTR ** d.kertz at alcatel-lucent dot com wrote: We need to run some Excel programs via cron and are using vbscript to do this. We have this running on a WinXP

RE: Unable to run excel via cron

2015-06-17 Thread Andy Hall
-Original Message- From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf Of Kiehl, Horst Sent: Wednesday, June 17, 2015 8:10 AM To: Kertz, Denis (D)** CTR **; cygwin@cygwin.com Subject: RE: Unable to run excel via cron (Trying to remove TOFU to make

RE: Unable to run excel via cron

2015-06-17 Thread Kertz, Denis (D)** CTR **
We are running cron under the specific cygwin login (not cyg_server). Presumably there is a solution to this problem.  We have 3 Win7 Pro PCs and this works on one of the PCs (unfortunately, not the one where we need it to work) and fails on the other two PCs. Thanks for the two suggested

RE: Unable to run excel via cron

2015-06-17 Thread Kertz, Denis (D)** CTR **
to remove TOFU to make the conversation appear chronological again and with correct attributions.) Kertz, Denis (D)** CTR ** d.kertz at alcatel-lucent dot com wrote: We need to run some Excel programs via cron and are using vbscript to do this. We have this running on a WinXP machine

Unable to run excel via cron

2015-06-16 Thread Kertz, Denis (D)** CTR **
We need to run some Excel programs via cron and are using vbscript to do this.   We have this running on a WinXP machine but are having trouble running on a Win7 machine, but we don't think it is a Win7 problem. Here's the script to run a simple test excel program: Dim xlApp Dim xlWb Set

Re: Unable to run excel via cron

2015-06-16 Thread Bryan Berns
On Tue, Jun 16, 2015 at 9:27 AM, Kertz, Denis (D)** CTR ** d.ke...@alcatel-lucent.com wrote: We need to run some Excel programs via cron and are using vbscript to do this. We have this running on a WinXP machine but are having trouble running on a Win7 machine, but we don't think

Cron Service

2015-04-21 Thread Kizito Porta Balanyà
Hello, Installing the cron service, shows the name Cron daemon in the service manager. In my opinion, it should be better to follow the convention: CYGWIN servicenamed For example, the other CYGWIN services show: CYGINW syslogd. CYGWIN sshd ... The resulting display name should be CYGWIN crond

Cron not working

2015-03-10 Thread Stefan Schumacher
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 This is stefan's crontab, generated with crontab -e

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

[ANNOUNCEMENT] Updated: cron 4.1

2015-01-23 Thread Pierre A Humblet
A new release of the Cygwin port of cron 4.1 is available in the 32-bit and 64-bit Cygwin distributions. The change allows the cron-config script to handle new cron installations in the upcoming Cygwin release, which does not rely on /etc/{password,group}. Pierre If you have questions

Re: Can't Run Excel From A Cron Job Under Windows 7

2015-01-12 Thread Kertz, Denis (D)** CTR **
xlApp = Nothing Here is the cron job to run this vb script: c:/Windows/System32/wscript.exe c:\cygwin64\home\Upar2\bin\testExcel.vbs When this cron job is run, it hangs with Excel running (and doing nothing). However, if the line that opens the .csv file is removed from this script

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-12-21 Thread Andrey Repin
Greetings, Kertz, Denis (D)** CTR **! I am trying to port a cygwin application that uses cron from a WinXP PC to a Win7 Pro PC and I find some cron jobs won't run. Specifically, I need to run an Excel program from a cron job and this doesn't work on my Win7 PC. For posterity: Turned out

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-19 Thread Andrey Repin
Greetings, Kertz, Denis (D)** CTR **! Try starting cron in terminal session and see if anything comes up. Stop (don't kill! Everyone, who use -KILL, must be -KILL'ed) the cron service, then start cron in terminal, using `runas /user:... ...'. So it would run under proper user, and see

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-18 Thread Warren Young
On Nov 12, 2014, at 9:20 AM, Kertz, Denis (D)** CTR ** d.ke...@alcatel-lucent.com wrote: More like you expect to run Excel interactively from service. Not possible. Period. I'm not trying to run Excel interactively from a cron job. One of the limitations with using Excel from a cron job

RE: Can't Run Excel From A Cron Job Under Windows 7

2014-11-17 Thread Kertz, Denis (D)** CTR **
Try starting cron in terminal session and see if anything comes up. Stop (don't kill! Everyone, who use -KILL, must be -KILL'ed) the cron service, then start cron in terminal, using `runas /user:... ...'. So it would run under proper user, and see if anything come up, when it execute your

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-13 Thread Andrey Repin
Greetings, Kertz, Denis (D)** CTR **! What I mean by runs fine is that when I type this command at a bash prompt: run.excel 'c:\Shared\Bin\Create_Daily_Scorecard.xls' it runs to completion and creates a new .xls as its output. When I run this run.excel script from a cron job

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-12 Thread Kertz, Denis (D)** CTR **
An excel program is run like this: run.excel 'c:\Shared\Bin\Create_Daily_Scorecard.xls' When I run an Excel program interactively with this run.excel script it runs just fine but when I run it via a cron job Excel just hangs. Define runs fine please? What exactly that excel

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-12 Thread Andrey Repin
Greetings, Kertz, Denis (D)** CTR **! An excel program is run like this: run.excel 'c:\Shared\Bin\Create_Daily_Scorecard.xls' When I run an Excel program interactively with this run.excel script it runs just fine but when I run it via a cron job Excel just hangs. Define runs fine

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-12 Thread Keith Christian
wrote: An excel program is run like this: run.excel 'c:\Shared\Bin\Create_Daily_Scorecard.xls' When I run an Excel program interactively with this run.excel script it runs just fine but when I run it via a cron job Excel just hangs. Define runs fine please? What exactly that excel

RE: Can't Run Excel From A Cron Job Under Windows 7

2014-11-12 Thread Kertz, Denis (D)** CTR **
What I mean by runs fine is that when I type this command at a bash prompt: run.excel 'c:\Shared\Bin\Create_Daily_Scorecard.xls' it runs to completion and creates a new .xls as its output. When I run this run.excel script from a cron job it hangs. Hangs as in - do not create new

Can't Run Excel From A Cron Job Under Windows 7

2014-11-11 Thread Kertz, Denis (D)** CTR **
I am trying to port a cygwin application that uses cron from a WinXP PC to a Win7 Pro PC and I find some cron jobs won't run. Specifically, I need to run an Excel program from a cron job and this doesn't work on my Win7 PC. In order to run an Excel program from cygwin I have this run.excel

Re: Can't Run Excel From A Cron Job Under Windows 7

2014-11-11 Thread Andrey Repin
Greetings, Kertz, Denis (D)** CTR **! I am trying to port a cygwin application that uses cron from a WinXP PC to a Win7 Pro PC and I find some cron jobs won't run. Specifically, I need to run an Excel program from a cron job and this doesn't work on my Win7 PC. In order to run an Excel

Problem with cron jobs

2014-08-21 Thread Cary Lewis
I have created a small shell script that acts like a network connectivity watchdog, which checks for a successful ping to the internet, and if it doesn't work, restarts the machine. When I attempt to run it from a cron job, the script exits whenever any of the commands exits with a non zero

Re: Problem with cron jobs

2014-08-21 Thread Andrey Repin
Greetings, Cary Lewis! I have created a small shell script that acts like a network connectivity watchdog, which checks for a successful ping to the internet, and if it doesn't work, restarts the machine. When I attempt to run it from a cron job, the script exits whenever any

Re: Problem with cron jobs

2014-08-21 Thread Andrew DeFaria
On 8/21/2014 7:25 AM, Andrey Repin wrote: Greetings, Cary Lewis! I have created a small shell script that acts like a network connectivity watchdog, which checks for a successful ping to the internet, and if it doesn't work, restarts the machine. When I attempt to run it from a cron job

Re: Problem with cron jobs

2014-08-21 Thread Duncan Roe
On Thu, Aug 21, 2014 at 07:59:29AM -0400, Cary Lewis wrote: I have created a small shell script that acts like a network connectivity watchdog, which checks for a successful ping to the internet, and if it doesn't work, restarts the machine. When I attempt to run it from a cron job

RE: Unable to get cygwin cron to work

2014-08-18 Thread Pierre A. Humblet
-Original Message- From: cygwin-owne at cygwin.com on Behalf Of Denis Sent: Friday, August 15, 2014 21:39 I'm trying unsuccesfully to get cron to work under 64-bit cywin under Win7 Pro. First, I tried running as myself (running cygwin with system administrator privilege

Unable to get cygwin cron to work

2014-08-15 Thread Denis
I'm trying unsuccesfully to get cron to work under 64-bit cywin under Win7 Pro. First, I tried running as myself (running cygwin with system administrator privilege): $ cron-config Do you want to install the cron daemon as a service? (yes/no) yes Enter the value of CYGWIN for the daemon: [ ] Do

wget-1.15-1 vx wget-1.13-4, LANG and cron

2014-05-13 Thread First Last
I had trouble when I updated to wget-1.15-1. I have a cron script that grabs a camera picture using wget. It failed with the new wget-1.15-1. 1) wget stderr has a line: Saving to: 'filename' In wget-1.13.4-1 the delimiter before the filename is a backtick and after the filename

Re: wget-1.15-1 vx wget-1.13-4, LANG and cron

2014-05-13 Thread Eric Blake
On 05/13/2014 03:49 PM, First Last wrote: I had trouble when I updated to wget-1.15-1. I have a cron script that grabs a camera picture using wget. It failed with the new wget-1.15-1. 1) wget stderr has a line: Saving to: 'filename' In wget-1.13.4-1 the delimiter before

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

cron isnt running, switched from 64bit to 32

2014-01-17 Thread patrick
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 cygrunsrv -R cron and reinstalling via

cron isnt running, switched from 64bit to 32

2014-01-16 Thread patrick
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 cygrunsrv -R cron and reinstalling via

RE: Confused about several issues with setting up cron

2013-09-24 Thread KARR, DAVID
-Original Message- From: KARR, DAVID Sent: Sunday, September 22, 2013 2:32 PM Subject: RE: Confused about several issues with setting up cron -Original Message- Sent: Sunday, September 22, 2013 12:46 PM Subject: Re: Confused about several issues with setting up cron

Re: Confused about several issues with setting up cron

2013-09-24 Thread bartels
On 09/24/2013 05:04 PM, KARR, DAVID wrote: -Original Message- From: KARR, DAVID Sent: Sunday, September 22, 2013 2:32 PM Subject: RE: Confused about several issues with setting up cron -Original Message- Sent: Sunday, September 22, 2013 12:46 PM Subject: Re: Confused about

Re: Confused about several issues with setting up cron

2013-09-24 Thread Steve
try changing the path in the mintty shortcut to c:\cygwin\bin\mintty.exe - % cygrunsrv -R cron reboot to be on the safe side After bootup use cygwin setup to uninstall cron, then run setup again and install it. % cron-config You shouldn't need todo anything custom here, yes and defaults to everything

Re: Confused about several issues with setting up cron

2013-09-24 Thread bartels
On 09/24/2013 08:13 PM, KARR, DAVID wrote: 15 31593 [main] crontab 8612 fhandler_base::open_fs: 0 = fhandler_disk_file::open(\??\C:\Cygwin\var\cron\tabs\dk068x, 0x8000) 21 31614 [main] crontab 8612 open: -1 = open(tabs/dk068x, 0x8000), errno 2 There you go: the process has

Re: Confused about several issues with setting up cron

2013-09-23 Thread Andrey Repin
Greetings, bartels! CYGWIN_NT-6.1 1.7.25(0.270/5/3) 2013-08-31 20:39 i686 Cygwin I want to set up a cron job, so I have to get cron configured. I'm trying to follow the instructions I can find, but I'm seeing several issues. I'm surprised that there's nothing in the user guide or the FAQ

Re: Confused about several issues with setting up cron

2013-09-23 Thread bartels
On 09/23/2013 04:44 PM, Andrey Repin wrote: Greetings, bartels! Greetings Andrey! By the way: SYSTEM is not a user. Since when? Since Bill Gates stopped sleeping in his garage? :) $ passwd SYSTEM passwd: unknown user SYSTEM Without knowing too much about Windows internals, I have

Re: Confused about several issues with setting up cron

2013-09-23 Thread Andrey Repin
Greetings, bartels! By the way: SYSTEM is not a user. Since when? Since Bill Gates stopped sleeping in his garage? :) $ passwd SYSTEM passwd: unknown user SYSTEM Without knowing too much about Windows internals, I have always considered SYSTEM to be a context, rather than a user. Your

  1   2   3   4   5   6   7   8   9   10   >