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

Cygwin cron does not wake-up the system

2011-11-23 Thread gabier
scheduled cron task ? :) Gabier -- View this message in context: http://old.nabble.com/Cygwin-cron-does-not-wake-up-the-system-tp32874084p32874084.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http

Re: Cygwin Cron not running

2008-05-30 Thread Larry Hall (Cygwin)
Jonathan O'Leary wrote: Thanks for the info, however, I'm a bit confused. In cronbug it states that the permissions are: -rwxrwx--- 1 lumcon mkgroup-l-d 244 May 30 14:45 /var/cron/tabs/lumcon However, when I run a ls -al I get: -rw-r--r-- 1 lumcon mkgroup-l-d 244 May 30 14:45 /var/cron/tabs/lu

Re: Cygwin Cron not running

2008-05-30 Thread Jonathan O'Leary
Thanks for the info, however, I'm a bit confused. In cronbug it states that the permissions are: -rwxrwx--- 1 lumcon mkgroup-l-d 244 May 30 14:45 /var/cron/tabs/lumcon However, when I run a ls -al I get: -rw-r--r-- 1 lumcon mkgroup-l-d 244 May 30 14:45 /var/cron/tabs/lumcon How/why are they d

Re: Cygwin Cron not running

2008-05-30 Thread Brian Dessent
Jonathan O'Leary wrote: > I have a cron.log file in /var/log, however it is empty. Also, the contents > of /tmp is empty as well. Currently I am trying to run 2 jobs, one is a > shell script and one is a simple echo command to a file to see if I can get > anything to work. Neither of the jo

Cygwin Cron not running

2008-05-30 Thread Jonathan O'Leary
ty College 410-836-4188 Current version -rwxr-x---+ 1 lumcon mkgroup-l-d 4959 Jun 12 2007 /usr/share/doc/Cygwin/cron-4.1-6.README Running crons: 142412801424 1512? 16040 13:27:36 /usr/sbin/cron Sendmail: lrwxrwxrwx 1 lumcon mkgroup-l-d 16 May 29 12:40 /usr/sbin/sendma

Re: Cygwin Cron problem

2007-08-08 Thread shash
Thanks Pierre, I have mailed to cygwin. Pierre A. Humblet wrote: > > - Original Message - > From: "shash" > To: > Sent: Wednesday, August 08, 2007 5:39 AM > Subject: Cygwin Cron problem > > > | > | Hi, > | > | Before I start, I woul

Re: Cygwin Cron problem

2007-08-08 Thread Pierre A. Humblet
- Original Message - From: "shash" To: Sent: Wednesday, August 08, 2007 5:39 AM Subject: Cygwin Cron problem | | Hi, | | Before I start, I would like to inform that, I went through all FAQs and | other threads before posting here. | I came across this thread where I

Cygwin Cron problem

2007-08-08 Thread shash
Hi, Before I start, I would like to inform that, I went through all FAQs and other threads before posting here. I came across this thread where I faced the similar error, but couldn't get what they did to resolve it. http://www.nabble.com/1.5.21-1%3AWindows-2003-Server---Cygwin-Cron-tf24

Re: 1.5.21-1:Windows 2003 Server & Cygwin Cron

2006-10-24 Thread Larry Hall (Cygwin)
On 10/24/2006, Mark Schubert wrote: I'm so stupid... This is a little embarrassing cron-config worked fine... THANKS Larry! Glad to hear it. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd.

Re: 1.5.21-1:Windows 2003 Server & Cygwin Cron

2006-10-24 Thread Mark Schubert
I'm so stupid... This is a little embarrassing cron-config worked fine... THANKS Larry! My sincere apologies. Mark. On 10/24/06, Mark Schubert <[EMAIL PROTECTED]> wrote: I still need help with this - anyone? Larry? Corinna? Thanks! Mark. -- Unsubscribe info: http://cygwin.com/

Re: 1.5.21-1:Windows 2003 Server & Cygwin Cron

2006-10-24 Thread Larry Hall (Cygwin)
Mark Schubert wrote: I still need help with this - anyone? Larry? Corinna? I still don't understand why you don't just use 'cron-config' for all this. It would avoid allot of guesswork on your part. If configuring with 'cron-config' doesn't just work for you and/or you get the same problem

Re: 1.5.21-1:Windows 2003 Server & Cygwin Cron

2006-10-24 Thread Mark Schubert
I still need help with this - anyone? Larry? Corinna? Thanks! Mark. On 10/20/06, Mark Schubert <[EMAIL PROTECTED]> wrote: Update - cron works when start it manually from cron_server account - [EMAIL PROTECTED] ~ $ /usr/sbin/cron It runs crontabs from all different accounts.The problem is I

Re: 1.5.21-1:Windows 2003 Server & Cygwin Cron

2006-10-20 Thread Mark Schubert
Update - cron works when start it manually from cron_server account - [EMAIL PROTECTED] ~ $ /usr/sbin/cron It runs crontabs from all different accounts.The problem is I need to have it start as a service so when the machine boots, it will run. I've tried every which way under the sun to start

Re: 1.5.21-1:Windows 2003 Server & Cygwin Cron

2006-10-11 Thread Larry Hall (Cygwin)
On 10/11/2006, Mark Schubert wrote: [EMAIL PROTECTED] ~ cron_server>crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.5292 installed on Wed Oct 11 18:05:28 2006) # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $) * * * * * rm ~/this * * *

1.5.21-1:Windows 2003 Server & Cygwin Cron

2006-10-11 Thread Mark Schubert
I do not have a problem to get cron to start - but it flat doesn't work. I've started/configured it to start every way I've seen so far (except the "wrappers") stuff - I don't see how that could help... I've read a TON of information provided by Ms. Vinschen - and I am still not able to get cron

Re: My script doesn't work under cygwin cron

2006-08-22 Thread Igor Peshansky
Ugh, top-posting... Reformatted. On Mon, 21 Aug 2006, liora milbaum wrote: > Igor Peshansky wrote: > > > > On Sun, 20 Aug 2006, liora milbaum wrote: > > > >> It works fine under the cygwin shell not under cron. > >> > >> This is the output of the command: > >> > >> Can't load '/usr/lib/perl5/sit

Re: My script doesn't work under cygwin cron

2006-08-21 Thread liora milbaum
27;s proof enough > in > that!" -- Rostand, "Cyrano de Bergerac" > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ:

Re: My script doesn't work under cygwin cron

2006-08-20 Thread Igor Peshansky
On Sun, 20 Aug 2006, liora milbaum wrote: > It works fine under the cygwin shell not under cron. > > This is the output of the command: > > Can't load '/usr/lib/perl5/site_perl/5.8/cygwin/auto/GD/GD.dll' for module > GD: No such file or directory at /usr/lib/perl5/5.8/cygwin/DynaLoader.pm line >

My script doesn't work under cygwin cron

2006-08-20 Thread liora milbaum
12 Compilation failed in require at /usr/local/bin/cl_graph line 12. BEGIN failed--compilation aborted at /usr/local/bin/cl_graph line 12. Thanks, Liora -- View this message in context: http://www.nabble.com/My-script-doesn%27t-work-under-cygwin-cron-tf2135910.html#a5894307 Sent from the Cygwin

Cygwin + Cron + Network Shares Howto?

2005-10-10 Thread Steve
Hello - I have spent way too much time today trying to get some scripts accessing some smb shares on our network today in Cygwin (on XP Pro). I think I have it working now, but not after a lot of head scratching, reboots, head pounding on desk, etc.. I have poured over list archives/faq/rea

FW: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread David Christensen
9/2005 9:52:52 PM Blocked by port blocking rule exim-4.43-1.exe Prevent mass mailing worms from sending mail 65.19.145.2 Adding "telnet.exe" and "exim-4.43-1.exe" to the list of excluded processes allows them to get out. :-) The last step to get Cygwin cron to s

RE: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread David Christensen
Ross Boulet wrote: > Make sure when you run rebaseall that you first stop any > cygwin processes that are running(sshd for example), > otherwise, rebaseall can't get to the dll's. D'oh! Stopping and removing all Cygwin services, moving away C:\cygwin, and doing a fresh install, it now works:

RE: ***[Possible UCE]*** RE: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread David Christensen
Pierre A. Humblet wrote: > Regarding telnet on port 25, that must be a local issue. Until you > can get {Windows,Cygwin} telnet ... 25 to connect, there is little > sense trying a mailer. I agree. I also realized that port 25 on the Windows Firewall exception for port 25 should be irrelevant to

RE: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread David Christensen
Pierre A. Humblet wrote: > By the way, from my home with Cygwin telnet: > ~: telnet cloud.he.net 25 > Trying 65.19.145.2... > Connected to cloud.he.net. > Escape character is '^]'. > 220 cloud.he.net ESMTP Ready Thanks for the sanity check. :-) David -- Unsubscribe info: http://cygwin.co

RE: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread Ross Boulet
[snip] > > I dunno either, but gave it a try anyway: > > [EMAIL PROTECTED]:~$ rebaseall > ReBaseImage (/usr/bin/cygcrypt-0.dll) failed with last error = 6 > [EMAIL PROTECTED]:~$ rebaseall > ReBaseImage (/usr/bin/cygcrypt-0.dll) failed with last error = 6 > > [snip] Make sure when

RE: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread Harig, Mark
> > > ssmtp is less likely to suffer rebase issue. Use ssmtp-config. > > I don't seem to have it: > > [EMAIL PROTECTED]:~$ updatedb > [EMAIL PROTECTED]:~$ locate smtp-config > [EMAIL PROTECTED]:~$ smtp > smtpapi.dll smtpcons.mfl smtpctrs.dll smtpctrs.ini > smtpcons.dll

FW: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread David Christensen
>> Is Cygwin cron supposed to send e-mail reports? Pierre A. Humblet wrote: > Yes. Thanks for the response. :-) > According to your logs below, you seem to have two problems: > 1) queue runner fork problems, probably due to a rebase issue. > (I am not an expert, not ha

Re: Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread Pierre A. Humblet
it out. I searched the Cygwin FAQ, User's Guide, > and mailing list, and searched Google for permutations on "Cygwin cron > mail", but I didn't find anything that looked like it addressed this > specific issue. > > > Is Cygwin cron supposed to send e-ma

Is Cygwin cron supposed to send e-mail reports?

2005-01-09 Thread David Christensen
ound with everything else available under the Cygwin Setup "Mail" category, plus some manual command-line tests, looking at logs, etc., but couldn't figure it out. I searched the Cygwin FAQ, User's Guide, and mailing list, and searched Google for permutations on "Cygwin cron

RE: More Info - Cygwin Cron - Cannot Switch user context

2004-11-09 Thread Rebstock, Roland
esday, November 09, 2004 10:15 AM To: Rebstock, Roland Cc: [EMAIL PROTECTED] Subject: Re: More Info - Cygwin Cron - Cannot Switch user context On Mon, 8 Nov 2004, Rebstock, Roland wrote: > CYGWIN_NT-5.2 1.5.5 Two simple suggestions: Upgrade. Cygwin 1.5.5 is now very old. I'd try 1.5.10

Re: More Info - Cygwin Cron - Cannot Switch user context

2004-11-09 Thread Brian Ford
On Mon, 8 Nov 2004, Rebstock, Roland wrote: > CYGWIN_NT-5.2 1.5.5 Two simple suggestions: Upgrade. Cygwin 1.5.5 is now very old. I'd try 1.5.10, or a snapshot. Have you attached cygcheck output yet? I don't remember seeing it. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual

More Info - Cygwin Cron - Cannot Switch user context

2004-11-08 Thread Rebstock, Roland
as well still does not resolve the issue. Roland Rebstock -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rebstock, Roland Sent: Monday, November 08, 2004 7:08 PM To: [EMAIL PROTECTED] Subject: RE: Cygwin Cron - Cannot Switch user context All, even af

RE: Cygwin Cron - Cannot Switch user context

2004-11-08 Thread Rebstock, Roland
the error message "Cannot Switch User Context". Any help would be appreciated. -Original Message- From: Rebstock, Roland Sent: Monday, November 08, 2004 12:03 PM To: '[EMAIL PROTECTED]' Subject: RE: Cygwin Cron - Cannot Switch user context All, I have a Win2k3 server

RE: Cygwin Cron - Cannot Switch user context

2004-11-08 Thread Igor Pechtchanski
On Mon, 8 Nov 2004, Rebstock, Roland wrote: > All, I have a Win2k3 server with cygwin. I cannot get cron to execute > any jobs that previously ran under Win2k. The error is " Cannot Switch > user Context". Is there a solution? > > CYGWIN_NT-5.2 1.5.5 > > Roland Rebstock Win2k3's SYSTEM account

RE: Cygwin Cron - Cannot Switch user context

2004-11-08 Thread Harig, Mark
Please run this diagnostic script. It will attempt to locate many types of common problems with cron on cygwin. http://sources.redhat.com/ml/cygwin/2004-07/msg00207.html Please read the output of the script carefully. If it finds problems, it suggests possible fixes, and it will also recommend

RE: Cygwin Cron - Cannot Switch user context

2004-11-08 Thread Rebstock, Roland
All, I have a Win2k3 server with cygwin. I cannot get cron to execute any jobs that previously ran under Win2k. The error is " Cannot Switch user Context". Is there a solution? CYGWIN_NT-5.2 1.5.5 Roland Rebstock -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem repo

Re: cygwin Cron on Windows 2003 Server Issues

2004-09-13 Thread Shankar Unni
Christopher Faylor wrote: The main cygwin page provides a link that should make things pretty clear about how to subscribe to the cygwin lists. BTW: For those who don't want to fill up their mailboxes with 100+ messages a day, you can also go through the NNTP gateway at news.gmane.org, which carr

Re: Cygwin Cron on Windows 2003 Server Issues

2004-09-10 Thread Pierre A. Humblet
On Fri, Sep 10, 2004 at 08:27:05PM -0500, Paul J. Ghosh wrote: > > Pierre - your suggestion - will it not lead to root privileges for > svccron? You mean setting its uid to 0? It won't change anything for Windows ntsec. The advantage is that su won't prompt for passwd. The reason for the su is th

Re: cygwin Cron on Windows 2003 Server Issues

2004-09-10 Thread Brian Dessent
"Paul J. Ghosh" wrote: > Christopher - you lost me. How am I supposed to reply to your message > from the site http://cygwin.com/ml/cygwin/2004-09/msg00505.html? My > current response is being composed by clicking on the button at the > bottom of the page > http://www.mail-archive.com/[EMAIL PRO

Re: cygwin Cron on Windows 2003 Server Issues

2004-09-10 Thread Christopher Faylor
On Fri, Sep 10, 2004 at 08:54:33PM -0500, Paul J. Ghosh wrote: >Christopher - you lost me. How am I supposed to reply to your message >from the site http://cygwin.com/ml/cygwin/2004-09/msg00505.html? Ok, either you're new to the internet or you're trolling. I don't know which it is. We are comm

Re: cygwin Cron on Windows 2003 Server Issues

2004-09-10 Thread Paul J. Ghosh
Christopher - you lost me. How am I supposed to reply to your message from the site http://cygwin.com/ml/cygwin/2004-09/msg00505.html? My current response is being composed by clicking on the button at the bottom of the page http://www.mail-archive.com/[EMAIL PROTECTED]/msg44535.html which I am a

Re: cygwin Cron on Windows 2003 Server Issues

2004-09-10 Thread Christopher Faylor
On Fri, Sep 10, 2004 at 08:27:05PM -0500, Paul J. Ghosh wrote: >Larry/Igor - well - this is the first time I am participating in the >cygwin mailing list and from what I have read at http://ezmlm.org/ it is >supposed to add to threads if the subject is identical. URL? This is the first that I've

RE: Cygwin Cron on Windows 2003 Server Issues

2004-09-10 Thread Paul J. Ghosh
Larry/Igor - well - this is the first time I am participating in the cygwin mailing list and from what I have read at http://ezmlm.org/ it is supposed to add to threads if the subject is identical. I have been using the same subject line. There was not an initial email that I could have replied t

Re: Cygwin Cron on Windows 2003 Server Issues

2004-09-10 Thread Pierre A. Humblet
On Fri, Sep 10, 2004 at 04:45:07PM -0500, Paul J. Ghosh wrote: > Thank you all for your help. We pursued all that was recommended and > still ran into the error: cron : PID 3784 : starting service `cron' > failed: execv: 128, Transport endpoint is not connected. > > Since invoking it command line

Re: Cygwin Cron on Windows 2003 Server Issues

2004-09-10 Thread Igor Pechtchanski
On Fri, 10 Sep 2004, Paul J. Ghosh wrote: > Thank you all for your help. We pursued all that was recommended and > still ran into the error: cron : PID 3784 : starting service `cron' > failed: execv: 128, Transport endpoint is not connected. > > Since invoking it command line was successful we pu

Re: Cygwin Cron on Windows 2003 Server Issues

2004-09-10 Thread Paul J. Ghosh
Thank you all for your help. We pursued all that was recommended and still ran into the error: cron : PID 3784 : starting service `cron' failed: execv: 128, Transport endpoint is not connected. Since invoking it command line was successful we put a wrapper in place that executes cron and added th

Re: Cygwin Cron on Windows 2003 Server Issues

2004-09-10 Thread Larry Hall
At 10:43 AM 9/10/2004, you wrote: >Folks - any assistance would be greatly appreciated... And what about Igor's response would not qualify as "assistance"? If you're looking for something specific, you should ask the specific question. I thought Igor's reply looked quite helpful and was certainl

Cygwin Cron on Windows 2003 Server Issues

2004-09-10 Thread Paul J. Ghosh
Folks - any assistance would be greatly appreciated... Regards, Paul J. Ghosh -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/

RE: Cygwin Cron on Windows 2003 Server Issues

2004-09-09 Thread Anna Goldberg
Attached is the cygcheck when run by service_cron. Also, when we run the tasks as service_cron via command line the only error we're seeing is: cron : PID 2112 : (cdaapp) CAN'T OPEN (tabs/cdaapp), but if we're try starting the cron service we still get the error: cron : PID 3784 : starting servi

Re: Cygwin Cron on Windows 2003 Server Issues

2004-09-09 Thread Igor Pechtchanski
On Wed, 8 Sep 2004, Paul J. Ghosh wrote: > Thank you to all who have replied. Enclosed find the following: > > - contents of crontab for user cdaapp - simple task to be executed > every minute for testing Looks ok, but see below for permissions issues. > - error encountered

Re: Cygwin Cron on Windows 2003 Server Issues

2004-09-08 Thread Paul J. Ghosh
Thank you to all who have replied. Enclosed find the following: - contents of crontab for user cdaapp - simple task to be executed every minute for testing - error encountered when starting cron as service_cron - includes one as a dialog and another from the event viewer -

Re: Cygwin Cron on Windows 2003 Server Issues

2004-09-08 Thread Igor Pechtchanski
On Wed, 8 Sep 2004, Anna Goldberg wrote: > We tried running cron_diagnose.sh, but that didn't produce any usefull > answers, the output we get is: > > $ ./cron_diagnose.sh > cron_diagnose.sh 1.5 > > Your computer does not appear to have a crontab for . > Please generate a crontab for using 'cront

Re: Cygwin Cron on Windows 2003 Server Issues

2004-09-08 Thread Anna Goldberg
We tried running cron_diagnose.sh, but that didn't produce any usefull answers, the output we get is: $ ./cron_diagnose.sh cron_diagnose.sh 1.5 Your computer does not appear to have a crontab for . Please generate a crontab for using 'crontab -e', and run this script again. The version of cron w

Re: Cygwin Cron on Windows 2003 Server Issues

2004-09-08 Thread Larry Hall
At 02:40 PM 9/8/2004, you wrote: >I can create and start a Cron service under Local System, but I can’t seem to be able >to have that service run as a different user (ex. cron_server). I tried creating a >custom user following the directions provided by Corinna Vinschen at >http://www.mail-archi

Cygwin Cron on Windows 2003 Server Issues

2004-09-08 Thread Anna Goldberg
I can create and start a Cron service under Local System, but I can’t seem to be able to have that service run as a different user (ex. cron_server). I tried creating a custom user following the directions provided by Corinna Vinschen at http://www.mail-archive.com/[EMAIL PROTECTED]/msg31538.htm

RE: CYGWIN & CRON

2004-05-18 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of izzogabriele > Sent: 18 May 2004 14:36 > To: cygwin > Subject: CYGWIN & CRON > > Hello world > > I have started the cron service under cygwin with the command: > > cygrunsrv -I cron -p /usr/sbin/

CYGWIN & CRON

2004-05-18 Thread [EMAIL PROTECTED]
Hello world I have started the cron service under cygwin with the command: cygrunsrv -I cron -p /usr/sbin/cron -a -D cygrunsrv -S cron the service is succesfully started (reported in the log file) I have edit the crontab file but it seems not working. Can you help me please? Thank you very muc

RE: Running cygwin cron under WinXP SP1

2004-02-20 Thread Harig, Mark
> > The only thing I hadn't done before was the mkpasswd -l -d > and mkgroup > -l -d on first run of the original install, so don't know if > that made a > difference, but its working now. It does make a difference, and this problem is detected by the diagnostic script. When the problem is

Re: Running cygwin cron under WinXP SP1

2004-02-20 Thread Russell Hind
Russell Hind wrote: I have just installed the latest cygwin and set up cron to run using Thanks for your replies. I have it working now by uninstalling cygwin and re-installing it from the web (I had installed it a couple of weeks back and then added cron later). The only thing I hadn't done

RE: Running cygwin cron under WinXP SP1

2004-02-19 Thread Harig, Mark
TECTED] > Sent: Thursday, February 19, 2004 4:56 AM > To: [EMAIL PROTECTED] > Subject: Running cygwin cron under WinXP SP1 > > > I have just installed the latest cygwin and set up cron to run using > > cygrunsrv -I cron -p /usr/sbin/cron -a -D > cygrunsrv -S cron > &

RE: Running cygwin cron under WinXP SP1

2004-02-19 Thread Brian Kelly
more thing to be aware of. Brian Kelly -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Thorsten Kampe Sent: Thursday, February 19, 2004 7:07 AM To: [EMAIL PROTECTED] Subject: Re: Running cygwin cron under WinXP SP1 * Russell Hind (2004-02-19 10:55 +0100

Re: Running cygwin cron under WinXP SP1

2004-02-19 Thread Thorsten Kampe
* Russell Hind (2004-02-19 10:55 +0100) > I have just installed the latest cygwin and set up cron to run using > > cygrunsrv -I cron -p /usr/sbin/cron -a -D > cygrunsrv -S cron > > It is running as a service (both in XP task manager and in ps -ef) > > But I can't get it to execute commands. I h

Running cygwin cron under WinXP SP1

2004-02-19 Thread Russell Hind
I have just installed the latest cygwin and set up cron to run using cygrunsrv -I cron -p /usr/sbin/cron -a -D cygrunsrv -S cron It is running as a service (both in XP task manager and in ps -ef) But I can't get it to execute commands. I have tried a crontab as both /etc/crontab and /var/cron/t

Re: Windows 2003 Server & Cygwin Cron

2003-12-18 Thread Benn Schreiber
I absolutely agree, Corinna. The correct fix is to use the administrators group. I was provided with a crontab that sets the group ownership to administrators, rather than SYSTEM, and it is fine. Benn > Quoting crontab.c from the cron-3.0.1-11 sources: > > /* Cygwin can't support changing the ow

Re: Windows 2003 Server & Cygwin Cron

2003-12-18 Thread Corinna Vinschen
On Dec 17 14:43, Igor Pechtchanski wrote: > Quoting crontab.c from the cron-3.0.1-11 sources: > > /* Cygwin can't support changing the owner since that requires crontab to >be a s-uid application which is not supported. >As workaround we try to set group membership to be SYSTEM (== ROOT_UI

Re: Windows 2003 Server & Cygwin Cron

2003-12-17 Thread Igor Pechtchanski
in case > others run into the problem, and with the hope that a future rev of cron > will address this problem. > > Thanks > Benn > > From: "Benn Schreiber" > To: > Date: Tue, 16 Dec 2003 08:51:26 -0800 > Subject: Re: Windows 2003 Server & Cygwin Cron

Windows 2003 Server & Cygwin Cron

2003-12-17 Thread Benn Schreiber
ction on the tabs/user file to user.Administrators after a 'crontab -e'). I'm posting this in case others run into the problem, and with the hope that a future rev of cron will address this problem. Thanks Benn From: "Benn Schreiber" To: Date: Tue, 16 Dec 2003 08:51:26

RE: Windows 2003 Server & Cygwin Cron

2003-12-16 Thread Harig, Mark
nal Message- > From: Benn Schreiber [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 16, 2003 11:51 AM > To: [EMAIL PROTECTED] > Subject: Re: Windows 2003 Server & Cygwin Cron > > > I am running on Windows 2003 server, and set up cron_server > per this note. > The

Re: Windows 2003 Server & Cygwin Cron

2003-12-16 Thread Benn Schreiber
x27;t open it. I changed the group to administrators, which cron_server is part of, but unfortunately, a 'crontab -e' resets the group to SYSTEM. Thanks Benn From: Corinna Vinschen To: cygwin at cygwin dot com Date: Tue, 11 Nov 2003 10:02:53 +0100 Subject: Re: Windows 2003

Re: Windows 2003 Server & Cygwin Cron

2003-11-13 Thread Igor Pechtchanski
On Thu, 13 Nov 2003, René Haber wrote: > Corinna Vinschen wrote: > > Check if the new cron_server user account has execute permissions > > on the cron.exe executable. > > Thanks. I had some permission Problems, not only on cron.exe, because I > didn't reinstall cygwin when i reinstalled Windows. N

Re: Windows 2003 Server & Cygwin Cron

2003-11-13 Thread René Haber
Corinna Vinschen wrote: Check if the new cron_server user account has execute permissions on the cron.exe executable. Thanks. I had some permission Problems, not only on cron.exe, because I didn't reinstall cygwin when i reinstalled Windows. Now it works. René -- Unsubscribe info: http://

Re: Windows 2003 Server & Cygwin Cron

2003-11-12 Thread Brian Ford
On Wed, 12 Nov 2003 [EMAIL PROTECTED] wrote: > I am one step closer, but things are still a little strange. > > I set the cron service to log in as Administrator, and it will now > service the Administrator crontab. It will not run the tasks in > another users crontab. > Why would you do that? D

Re: Windows 2003 Server & Cygwin Cron

2003-11-12 Thread brian
searching for the final answer. /Brian Re: Windows 2003 Server & Cygwin Cron From: "Brian Cruikshank" To: Date: Tue, 11 Nov 2003 13:27:33 -0700 Subject: Re: Windows 2003 Server

Re: Windows 2003 Server & Cygwin Cron

2003-11-11 Thread Brian Cruikshank
=== From: Corinna Vinschen To: cygwin at cygwin dot com Date: Tue, 11 Nov 2003 19:46:17 +0100 Subject: Re: Windows 2003 Server & Cygwin Cron References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Reply-to: cy

Re: Windows 2003 Server & Cygwin Cron

2003-11-11 Thread Corinna Vinschen
On Tue, Nov 11, 2003 at 07:13:33PM +0100, Ren? Haber wrote: > CYGWIN crond : PID 288 : starting service `CYGWIN crond' failed: > execv: 1, Operation not permitted. Check if the new cron_server user account has execute permissions on the cron.exe executable. Corinna -- Corinna Vinschen

Re: Windows 2003 Server & Cygwin Cron

2003-11-11 Thread René Haber
Hello Corinna Corinna Vinschen wrote: The easiest way is to follow the ssh-host-config script in creating a special account: net user cron_server /add /yes net localgroup cron_server /add editrights -a SeAssignPrimaryTokenPrivilege -u cron_server editrights -a SeCreateTokenPrivilege -u c

Re: Windows 2003 Server & Cygwin Cron

2003-11-11 Thread Corinna Vinschen
On Mon, Nov 10, 2003 at 03:26:07PM -0700, Brian Cruikshank wrote: > I have tried putting > the everyone group on the Local Security policies for "Create a token > object", "Logon as service", and "Replace a process level token". The > problem still happens. URGH! Don't do this. Remove the Ever

Windows 2003 Server & Cygwin Cron

2003-11-10 Thread Brian Cruikshank
Hello all, I have been able to get Cygwin Cron up and operational on Windows XP Home and Windows XP Pro. I am having problems getting working on Windows 2003 Server. I have installed it as described in many places and the Cron appears to be running. I tried the simple /usr/bin/date job, and I

RE: cygwin cron help - Win2k

2002-12-11 Thread Harig, Mark A.
December 09, 2002 6:13 PM > To: [EMAIL PROTECTED] > Subject: cygwin cron help - Win2k > > > Hello All, > > I'm trying to get cron to work, but I'm having problems with it. > > $ cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec" > cygr

RE: cygwin cron help - Win2k

2002-12-09 Thread [EMAIL PROTECTED]
Administrator. Elfyn [EMAIL PROTECTED] Original Message: - From: [EMAIL PROTECTED] Date: Mon, 9 Dec 2002 16:26:40 -0700 To: [EMAIL PROTECTED] Subject: RE: cygwin cron help - Win2k thanks for the response. I am using the user "e181263". -Original Message- Fr

RE: cygwin cron help - Win2k

2002-12-09 Thread Lamar . Seifuddin
thanks for the response. I am using the user "e181263". -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 09, 2002 4:18 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: cygwin cron help - Win2k Hi, it would seem you

RE: cygwin cron help - Win2k

2002-12-09 Thread [EMAIL PROTECTED]
Hi, it would seem you don't have permission to add a service. What user are you running (your shell) as? Elfyn [EMAIL PROTECTED] Original Message: - From: [EMAIL PROTECTED] Date: Mon, 9 Dec 2002 16:13:02 -0700 To: [EMAIL PROTECTED] Subject: cygwin cron help - Win2k Hell

cygwin cron help - Win2k

2002-12-09 Thread Lamar . Seifuddin
Hello All, I'm trying to get cron to work, but I'm having problems with it. $ cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec" cygrunsrv: Error installing a service: OpenSCManager: Win32 error 5: Access is denied. $ cygrunsrv -E cron cygrunsrv: Error stopping a service: OpenSCMan

RE: cygwin cron

2002-10-23 Thread Harig, Mark A.
/bin/date >> /tmp/dateit.txt If you can get that to work, then you can address the perl script problem separately. > -Original Message- > From: Smithesh Ramachandran [mailto:smithesh@;ticketmaster.com] > Sent: Tuesday, October 22, 2002 3:10 PM > To: [EMAIL PROTECTED] &g

Re: cygwin cron

2002-10-22 Thread Smithesh Ramachandran
> in your perl script (or a shell script). > Igor > > On Mon, 21 Oct 2002, Smithesh Ramachandran wrote: > > > Thanks. I did look at the FAQ s'. I haven't seen any of these specifics. > > > > I'm trying to scp files through cygwin cron (running on windows

Re: cygwin cron

2002-10-21 Thread Igor Pechtchanski
On Mon, 21 Oct 2002, Pierre A. Humblet wrote: > On Mon, Oct 21, 2002 at 08:21:08PM -0400, Igor Pechtchanski wrote: > > > > The fact that scp works for you from the command line doesn't necessarily > > mean it will work from cron. Ssh and scp look in $HOME/.ssh for public > > /usr/doc/cygwin/openss

Re: cygwin cron

2002-10-21 Thread Pierre A. Humblet
On Mon, Oct 21, 2002 at 08:21:08PM -0400, Igor Pechtchanski wrote: > > The fact that scp works for you from the command line doesn't necessarily > mean it will work from cron. Ssh and scp look in $HOME/.ssh for public /usr/doc/cygwin/openssh: "Please note that OpenSSH does never use the value of

RE: cygwin cron

2002-10-21 Thread Igor Pechtchanski
haven't seen any of these specifics. > > I'm trying to scp files through cygwin cron (running on windows 2000) to > Linux(redhat 72 kernal 2.4.7-10). And I'm running linux on pIII. > > The open_ssh version on Linux is OpenSSH_2.9p2. And I run sshd on linux on > port

RE: cygwin cron

2002-10-21 Thread Smithesh Ramachandran
Thanks. I did look at the FAQ s'. I haven't seen any of these specifics. I'm trying to scp files through cygwin cron (running on windows 2000) to Linux(redhat 72 kernal 2.4.7-10). And I'm running linux on pIII. The open_ssh version on Linux is OpenSSH_2.9p2. And I run ss

RE: cygwin cron

2002-10-21 Thread [EMAIL PROTECTED]
nal Message: - From: Smithesh Ramachandran [EMAIL PROTECTED] Date: Mon, 21 Oct 2002 13:53:12 -0700 To: [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: cygwin cron Hi , I'm trying to scp (without pass phrases) using dsa on cygwin cron. scp works fine, but not within cron. this is what

cygwin cron

2002-10-21 Thread Smithesh Ramachandran
Hi , I'm trying to scp (without pass phrases) using dsa on cygwin cron. scp works fine, but not within cron. this is what I'm doing - crontab -e 00 * * * * /usr/bin/perl /home/admin/perl/test.pl >> /tmp/test.txt and this is what test.pl has: #!/usr/bin/perl system('scp

Re: About cygwin cron

2002-01-29 Thread Gerrit P. Haase
Hallo Jeff, Am 2002-01-29 um 21:46 schriebst du: > Sorry to have to send you this email. I tried [EMAIL PROTECTED] but not > getting answer. Please try harder then;) Do you know 'how to ask smart questions' from ESR? E.g. 'About cygwin cron' is not the best subject