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 problem with cron popup windows

2008-01-23 Thread Dave Korn
On 23 January 2008 13:00, cygwin.20.maillinglist wrote: > Hi folk, > > I have the problem that I get cron popup windows. I change the cron > service, so that he can interact with the desktop. This was necessary to > start excel from cron. First everything was ok. But after I rebooted the > PC now

Cron problem with cron popup windows

2008-01-23 Thread cygwin . 20 . maillinglist
Hi folk, I have the problem that I get cron popup windows. I change the cron service, so that he can interact with the desktop. This was necessary to start excel from cron. First everything was ok. But after I rebooted the PC now cron startet to open a window always when a cron job started. How ca

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
27;t have administrator login. I ran the cron_diagnose.sh and it din't give me any errors. What am I doing wrong? Please help I 'm a newbie to Cygwin. Thanks Shash -- View this message in context: http://www.nabble.com/Cygwin-Cron-problem-tf4235168.html#a12049954 Sent from the C

Re: Cron problem

2006-09-29 Thread Joost Kraaijeveld
To respond to my own problem: a "*" too much in the crontab could explain a lot . So problem solved. -- Groeten, Joost Kraaijeveld Askesis B.V. Molukkenstraat 14 6524NB Nijmegen tel: 024-3888063 / 06-51855277 fax: 024-3608416 web: www.askesis.nl -- Unsubscribe info: http://cygwin.com

Cron problem

2006-09-29 Thread Joost Kraaijeveld
Hi, I am trying to run a cron job on a Windows 2000 server. What I want is to run a bash or sh shell script and mail the output to me on an other machine. Cron is running under the administrator account as a service. For testing purposes I have a script that is in the home directory of the admin

Re: Cron problem

2005-10-10 Thread Igor Pechtchanski
Please make sure your mailer respects the Reply-To: header -- I set it for a reason. There's no need to send the message to my mailbox -- I read the list. On Mon, 10 Oct 2005, Orfeo Da Via wrote: > On Mon, 10 Oct 2005, Igor Pechtchanski wrote: > > > > $ uname > > > Linux > > > > > > $ export VI

Re: Cron problem

2005-10-10 Thread Orfeo Da Via
On Mon, 10 Oct 2005, Igor Pechtchanski wrote: > > $ uname > > Linux > > > > $ export VISUAL=zile > > > > $ crontab -e > > > > ...edit the file.. > > Hmm, one detail that's missing: when was the above done? Before 8:00, or > after? About at 8.45, all the commands in the example are sequential

Re: Cron problem

2005-10-10 Thread Igor Pechtchanski
On Mon, 10 Oct 2005, Orfeo Da Via wrote: > Hi Igor, > > > We can't tell you where you are wrong until you tell us what you mean by > > cron "not working"... Does the crontab fail to execute correctly (i.e., > > every minute after 10:00? > > first I'm sorry for my poor English... No need to apolo

Re: Cron problem

2005-10-10 Thread Orfeo Da Via
Hi Igor, > We can't tell you where you are wrong until you tell us what you mean by > cron "not working"... Does the crontab fail to execute correctly (i.e., > every minute after 10:00? first I'm sorry for my poor English... in order to explain you what I mean when I wrote "cron does't work", I

Re: Cron problem

2005-10-08 Thread Igor Pechtchanski
On Sat, 8 Oct 2005, Orfeo Da Via wrote: > > Try doing this without changing your UID to 18. In fact, is there a > > reason why you didn't use cron-config in the first place? Why not try > > removing all traces of the cron service, including the log and pid files, > > and using cron-config to ins

Re: Cron problem

2005-10-08 Thread Brian Dessent
Orfeo Da Via wrote: > $ /usr/bin/cron-config > > ...as service? yes > ...yourself? no > ...ntsec? yes > ...start ..service? yes > > now: > > $ cygrunsrv -L > cron > > $ cygrunsrv -Q cron > Service : cron > Display name: Cron daemon > Current State : Runnin

Re: Cron problem

2005-10-08 Thread Orfeo Da Via
Hi, Igor > Try doing this without changing your UID to 18. In fact, is there a > reason why you didn't use cron-config in the first place? Why not try > removing all traces of the cron service, including the log and pid files, > and using cron-config to install cron? well, I removed all my cro

Re: Cron problem

2005-10-07 Thread Igor Pechtchanski
Ugh, top-posting. Reformatted again... On Fri, 7 Oct 2005, Orfeo Da Via wrote: > On Fri, 7 Oct 2005, Igor Pechtchanski wrote: > > > Ugh, top-posting. Reformatted... > > > > On Fri, 7 Oct 2005, Orfeo Da Via wrote: > > > > > Earlier I wrote: > > > > I'll quote your crontab inline to better commen

Re: Cron problem

2005-10-07 Thread René Berber
Orfeo Da Via wrote: [snip] > $ crontab -l > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (/tmp/crontab.1200 installed on Fri Oct 7 18:26:04 2005) > # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16:14:41 corinna Exp $) > * 18 * * * /bin/date >> /usr/tmp/date.out 2>&1 m

Re: Cron problem

2005-10-07 Thread Orfeo Da Via
OK I start from the begin: $ whoami micekiller $ cd /etc/ $ mkpasswd.exe -l -g > passwd $ cat passwd SYSTEM:*:18:544:,S-1-5-18:: Administrators:*:544:544:,S-1-5-32-544:: Backup Operators:*:551:551:,S-1-5-32-551:: Guests:*:546:546:,S-1-5-32-546:: Power Users:*:547:547:,S-1-5-32-547::

Re: Cron problem

2005-10-07 Thread Igor Pechtchanski
Ugh, top-posting. Reformatted... On Fri, 7 Oct 2005, Orfeo Da Via wrote: > Earlier I wrote: > > I'll quote your crontab inline to better comment on it: > > > > # DO NOT EDIT THIS FILE - edit the master and reinstall. > > # (/tmp/crontab.580 installed on Fri Oct 7 14:09:56 2005) > > # (Cron vers

Re: Cron problem

2005-10-07 Thread Orfeo Da Via
Hi Igor, thanks for your quicky reply! I tryed in this way $ crontab -l 10 14 * * * /bin/date >> /usr/tmp/date.out 2>&1 but doesn't work!! In attch. files is generated from: $ cat /var/log/cron.log > cron.log.txt $ ps -elf > ps-elf.txt I've also changed the permission of my cron.pid $ cho

Re: Cron problem

2005-10-07 Thread Igor Pechtchanski
On Fri, 7 Oct 2005, Orfeo Da Via wrote: > Hi, > I have the cron installed, my crontab is in attacged file crontab-l > but nothing is going on. > > the attached files is generated by > $ crontab -l > crontab-l.txt > $ cron_diagnose.sh > crontab_dia.txt > $ cygcheck -srv > cygcheck.txt I'll quote y

Re: Cron problem on Windows 2003

2005-01-30 Thread Igor Pechtchanski
On Fri, 28 Jan 2005, Pierre A. Humblet wrote: > Igor Pechtchanski wrote: > > > I don't know, I kind of prefer the way it's phrased in the openssh.README > > (i.e., a special note about the user privileges in Win2003, rather than a > > common description). That README also has a nice step-by-step

Re: Cron problem on Windows 2003

2005-01-28 Thread Pierre A. Humblet
Igor Pechtchanski wrote: > > > I don't know, I kind of prefer the way it's phrased in the openssh.README > (i.e., a special note about the user privileges in Win2003, rather than a > common description). That README also has a nice step-by-step description > of what sshd-host-config does, so t

Re: Cron problem on Windows 2003

2005-01-28 Thread Igor Pechtchanski
On Fri, 28 Jan 2005, Pierre A. Humblet wrote: > Igor Pechtchanski wrote: > > > Right. I'm wondering whether the above section from the openssh.README > > should be copied to /usr/share/doc/Cygwin/cron.README? The cron.README > > could also use some more info about what the cron-config script, si

Re: Cron problem on Windows 2003

2005-01-28 Thread Pierre A. Humblet
Igor Pechtchanski wrote: > > Right. I'm wondering whether the above section from the openssh.README > should be copied to /usr/share/doc/Cygwin/cron.README? The cron.README > could also use some more info about what the cron-config script, similar > to that in the openssh.README. Right. Comm

Re: Cron problem on Windows 2003

2005-01-28 Thread Igor Pechtchanski
On Fri, 28 Jan 2005, Pierre A. Humblet wrote: > On Fri, Jan 28, 2005 at 02:11:47PM -0500, Igor Pechtchanski wrote: > > On Fri, 28 Jan 2005, Ballarin Federico, PD wrote: > > > > > We have cygwin ver. 1.5.12 > > > We try to install cygwin cron on Win 2003 with "cygrunsrv -I cron -p > > > /usr/sbin/c

Re: Cron problem on Windows 2003

2005-01-28 Thread Pierre A. Humblet
On Fri, Jan 28, 2005 at 02:11:47PM -0500, Igor Pechtchanski wrote: > On Fri, 28 Jan 2005, Ballarin Federico, PD wrote: > > > We have cygwin ver. 1.5.12 > > We try to install cygwin cron on Win 2003 with "cygrunsrv -I cron -p > > /usr/sbin/cron -a -D" string. We started service with "cygrunsrv -S >

Re: Cron problem on Windows 2003

2005-01-28 Thread Igor Pechtchanski
On Fri, 28 Jan 2005, Ballarin Federico, PD wrote: > We have cygwin ver. 1.5.12 > We try to install cygwin cron on Win 2003 with "cygrunsrv -I cron -p > /usr/sbin/cron -a -D" string. We started service with "cygrunsrv -S > cron". Service start all successfully. > Our scripts don't start. > > When w

Cron problem on Windows 2003

2005-01-28 Thread Ballarin Federico, PD
We have cygwin ver. 1.5.12 We try to install cygwin cron on Win 2003 with "cygrunsrv -I cron -p /usr/sbin/cron -a -D" string. We started service with "cygrunsrv -S cron". Service start all successfully. Our scripts don't start. When we try to install the cron service by user Administrator from ba

Re: Cron problem/Documentation and Setup

2004-08-19 Thread Larry Hall
At 02:25 AM 8/19/2004, you wrote: >Larry Hall wrote: > >>>This doesn't explain why it worked at my last company and why I could have sworn it >>>used to work here up until about a week ago. >> >>Well, if you can check the access permissions on the share in question, you should >>be able to determ

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Andrew DeFaria
Larry Hall wrote: This doesn't explain why it worked at my last company and why I could have sworn it used to work here up until about a week ago. Well, if you can check the access permissions on the share in question, you should be able to determine whether this is an issue or not. At this compa

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Larry Hall
At 11:13 PM 8/18/2004, you wrote: >Larry Hall wrote: > >>At 10:44 PM 8/18/2004, you wrote: >> >>>So is P or /home off limits when it comes to cron? Why did this work at my last >>>company? I think it's probably due to the "public" share point versus "non-public" >>>share point (which I never tota

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Andrew DeFaria
Larry Hall wrote: At 10:44 PM 8/18/2004, you wrote: So is P or /home off limits when it comes to cron? Why did this work at my last company? I think it's probably due to the "public" share point versus "non-public" share point (which I never totally understood before) and I'm fearing that I will

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Larry Hall
At 10:44 PM 8/18/2004, you wrote: >So is P or /home off limits when it comes to cron? Why did this work at my last >company? I think it's probably due to the "public" share point versus "non-public" >share point (which I never totally understood before) and I'm fearing that I will not >be able

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Andrew DeFaria
p] As for my cron problem I can execute rudimentary commands such as ls, pwd and redirect the output to /tmp/debug.log. From that I can see that pwd tells me that I'm in /var/cron. The script I want to execute is under ~/bin (which is on a network share). I copied that script to /tmp and insur

RE: Cron problem/Documentation and Setup

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, Dave Korn wrote: > > -Original Message- > > From: Igor Pechtchanski > > Sent: 18 August 2004 17:19 > > > On Wed, 18 Aug 2004, Dave Korn wrote: > > > > > > -Original Message- > > > > From: cygwin-owner On Behalf Of Igor Pechtchanski > > > > Sent: 18 August 200

RE: Cron problem/Documentation and Setup

2004-08-18 Thread Dave Korn
> -Original Message- > From: Igor Pechtchanski > Sent: 18 August 2004 17:19 > On Wed, 18 Aug 2004, Dave Korn wrote: > > > > -Original Message- > > > From: cygwin-owner On Behalf Of Igor Pechtchanski > > > Sent: 18 August 2004 16:54 > > > > > > > > 18 17 * * * pwd >> /tmp/debug.lo

RE: Cron problem/Documentation and Setup

2004-08-18 Thread Igor Pechtchanski
On Wed, 18 Aug 2004, Dave Korn wrote: > > -Original Message- > > From: cygwin-owner On Behalf Of Igor Pechtchanski > > Sent: 18 August 2004 16:54 > > > > > > 18 17 * * * pwd >> /tmp/debug.log 2>&1 > > > > > 19 17 * * * ls >> /tmp/debug.log 2>&1 > > > > > 20 17 * * * ls -l /tmp/myscript >>

RE: Cron problem/Documentation and Setup

2004-08-18 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Igor Pechtchanski > Sent: 18 August 2004 16:54 > > > > 18 17 * * * pwd >> /tmp/debug.log 2>&1 > > > > 19 17 * * * ls >> /tmp/debug.log 2>&1 > > > > 20 17 * * * ls -l /tmp/myscript >> /tmp/debug.log 2>&1 > > > > 21 17 * * * /tmp/myscrip

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Igor Pechtchanski
blems executing > > > even things in /tmp! > > > > > > [snip] > > > > > > As for my cron problem I can execute rudimentary commands such as ls, pwd > > > and redirect the output to /tmp/debug.log. From that I can see that pwd > > > tells

Re: Cron problem/Documentation and Setup

2004-08-18 Thread Andrew DeFaria
-08/msg00587.html> by now. If not, read through it. The problem is fixed. Yes, saw it right after I posted this. Tried a quick download from planetmirror.com again and received the same error. I assumed the fixes was purqulating(sp?) and decided to try again today. Again, once I get into w

Re: Cron problem/Documentation and Setup

2004-08-17 Thread Larry Hall
rror. Tried mirrors.kernel.org - same error! > > >I assume you've seen <http://cygwin.com/ml/cygwin/2004-08/msg00587.html> >by now. If not, read through it. The problem is fixed. > > >>As for my cron problem I can execute rudimentary commands such as ls, pwd and

Re: Cron problem/Documentation and Setup

2004-08-17 Thread Larry Hall
ine 1537 (do you have the latest setup?) > >Problem is I *do* have the latest version of setup! I just downloaded it again to >make sure. Same error. Tried mirrors.kernel.org - same error! I assume you've seen <http://cygwin.com/ml/cygwin/2004-08/msg00587.html> by now. If not, rea

Cron problem/Documentation and Setup

2004-08-17 Thread Andrew DeFaria
recognized line 1537 (do you have the latest setup?) (null) line 1537: unrecognized line 1537 (do you have the latest setup?) Problem is I *do* have the latest version of setup! I just downloaded it again to make sure. Same error. Tried mirrors.kernel.org - same error! As for my cron problem I can

RE: cron problem with authentication

2004-05-27 Thread Igor Pechtchanski
On Thu, 27 May 2004, Mike Kenny - BCX - Mngd Services wrote: > > From: Larry Hall [mailto:[EMAIL PROTECTED] . > > At 03:52 AM 5/26/2004, you wrote: > > >I previously posted a problem where a job failed attaching to an MQ > > >Q Manager when run from cro

RE: cron problem with authentication

2004-05-27 Thread Dave Korn
> -Original Message- > From: cygwin-owner On Behalf Of Mike Kenny - BCX - Mngd Services > Sent: 27 May 2004 10:07 > I have a situation where, on the windows side, cron is running as user > 'mqdisp'. > The PS shows that cron is running as SYSTEM, > I hope the above better explains my pro

RE: cron problem with authentication

2004-05-27 Thread Mike Kenny - BCX - Mngd Services
> From: Larry Hall [mailto:[EMAIL PROTECTED] > > At 03:52 AM 5/26/2004, you wrote: > >I previously posted a problem where a job failed attaching to an MQ > >Q Manager when run from cron. The explanation that was provided > >was that because MQ authenticates the user using the NT services > >and

Re: cron problem with authentication

2004-05-26 Thread Larry Hall
At 03:52 AM 5/26/2004, you wrote: >I previously posted a problem where a job failed attaching to an MQ >Q Manager when run from cron. The explanation that was provided >was that because MQ authenticates the user using the NT services >and cron had had to su to that user, bypassing these services,

cron problem with authentication

2004-05-26 Thread Mike Kenny - BCX - Mngd Services
I previously posted a problem where a job failed attaching to an MQ Q Manager when run from cron. The explanation that was provided was that because MQ authenticates the user using the NT services and cron had had to su to that user, bypassing these services, that the user running the job did not

Re: cron problem report

2004-03-01 Thread Thorsten Kampe
* Seiji Tokunaga (2004-03-01 21:27 +0100) > I have trouble getting my cron to work. Please consider explaining what you mean by this otherwise any answer to your report won't satisfy you. > % crontab -l > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (/tmp/crontab.3928 installed on

RE: cron problem report

2004-03-01 Thread Harig, Mark
> > % crontab -l > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (/tmp/crontab.3928 installed on Mon Mar 1 15:03:19 2004) > # (Cron version -- $Id: crontab.c,v 1.7 2003/04/15 15:13:41 > corinna Exp $) > * * * * * `date` >> ${HOME}/foo.log > % Do not include backquotes on 'date' -

RE: cron problem report

2004-03-01 Thread Harig, Mark
Please try version 1.4. It has additional checks. http://sources.redhat.com/ml/cygwin/2004-02/msg01341.html > -Original Message- > From: Seiji Tokunaga [mailto:[EMAIL PROTECTED] > Sent: Monday, March 01, 2004 3:27 PM > To: [EMAIL PROTECTED] > Subject: cron problem re

cron problem report

2004-03-01 Thread Seiji Tokunaga
Hi, I have trouble getting my cron to work. I have tried cron_diagnosis.sh 1.3 but I could not find any problems. I also did the suggestion from the cron_diagnosis.sh output but it does not work. Here is the crontab -l, cron_diagnose.sh output and the cygcheck -srv output. Hope you can help me. %

Re: Cron problem after using hibernate

2003-12-21 Thread Larry Hall
At 03:46 PM 12/21/2003, David Bath you wrote: >Larry Hall wrote: >>At 03:25 PM 12/20/2003, David Bath you wrote: >> >>>I have been running cron for over a year now without any problems until recently. >>>Typically I leave my PC running XP on all day and then hibernate it very late in >>>the eveni

Re: Cron problem after using hibernate

2003-12-21 Thread Larry Hall
At 03:31 PM 12/21/2003, Igor Pechtchanski you wrote: >On Sun, 21 Dec 2003, Larry Hall wrote: > >> At 03:25 PM 12/20/2003, David Bath you wrote: >> >[snip] >> >I've attached the cygcheck output, but not my crontab since it works >> >correctly after the cron restarts so I doubt it's the problem. >> >

Re: Cron problem after using hibernate

2003-12-21 Thread David Bath
Larry Hall wrote: At 03:25 PM 12/20/2003, David Bath you wrote: I have been running cron for over a year now without any problems until recently. Typically I leave my PC running XP on all day and then hibernate it very late in the evening, turning it back on each morning. Cron would run without fa

Re: Cron problem after using hibernate

2003-12-21 Thread Igor Pechtchanski
On Sun, 21 Dec 2003, Larry Hall wrote: > At 03:25 PM 12/20/2003, David Bath you wrote: > >[snip] > >I've attached the cygcheck output, but not my crontab since it works > >correctly after the cron restarts so I doubt it's the problem. > > Do you google? > >

Re: Cron problem after using hibernate

2003-12-21 Thread Larry Hall
At 03:25 PM 12/20/2003, David Bath you wrote: >I have been running cron for over a year now without any problems until recently. >Typically I leave my PC running XP on all day and then hibernate it very late in the >evening, turning it back on each morning. Cron would run without fail executing a

Cron problem after using hibernate

2003-12-20 Thread David Bath
I have been running cron for over a year now without any problems until recently. Typically I leave my PC running XP on all day and then hibernate it very late in the evening, turning it back on each morning. Cron would run without fail executing as expected until sometime after 11/21. Around t

Re: cron problem in W2K Proffesional

2002-12-09 Thread Andrew DeFaria
Eric De La Cruz Lugo wrote: The cron works now!, the output its ok (date.txt). but with my script the things are different, here are the files I use.. I tested the script from the command line and work flawlesly, but when i add it to my crontab it does not work has expected! the files are atach

RE: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
The cron works now!, the output its ok (date.txt). but with my script the things are different, here are the files I use.. I tested the script from the command line and work flawlesly, but when i add it to my crontab it does not work has expected! the files are atached to the mail, and the output

RE: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
> >5. Check your crontab: crontab -l > > Done it shows: > > # DO NOT EDIT THIS FILE - edit the master and > reinstall. > # (/tmp/crontab.1036 installed on Fri Dec 6 13:04:23 > 2002) > # (Cron version -- $Id: crontab.c,v 1.6 2001/09/19 > 17:09:55 corinna Exp $) > * * * * * /usr/sbin/date >> /

RE: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
--- "Harig, Mark A." <[EMAIL PROTECTED]> wrote: > It appears as though everything is set correctly. > > Try: > >1. Shut down your cron service. Done. >2. Run Cygwin's setup.exe to uninstall 'cron'. Done. >3. Run setup.exe a second time to > download/install > a new copy of

RE: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
crontab: crontab -l 6. Install the cron service and start it. > -Original Message- > From: Eric De La Cruz Lugo [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 4:53 PM > To: Harig, Mark A.; [EMAIL PROTECTED] > Subject: RE: cron problem in W2K Proffesional > &

RE: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
down your cron service and restart it. > -Original Message- > From: Harig, Mark A. > Sent: Friday, December 06, 2002 4:20 PM > To: Eric De La Cruz Lugo; [EMAIL PROTECTED] > Subject: RE: cron problem in W2K Proffesional > > > > > > drwxrwxrwx 3 a

RE: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
Also, once you have done this, shut down your cron service and restart it. > -Original Message- > From: Harig, Mark A. > Sent: Friday, December 06, 2002 4:20 PM > To: Eric De La Cruz Lugo; [EMAIL PROTECTED] > Subject: RE: cron problem in W2K Proffesional > > >

RE: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
> > drwxrwxrwx 3 asuncion Ninguno 0 Apr > 12 2002 /var/cron > > drwxrwxrwx 2 asuncion Ninguno 0 Dec 6 > 13:04 /var/cron/tabs > For some reason, your 'sticky bit' settings didn't get set for /var/cron/ and /var/cron/tabs/. Instead of 'drwxrwxrwx', your permis

RE: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
--- "Harig, Mark A." <[EMAIL PROTECTED]> wrote: > What are the ownership/permissions for '/var'? That > is, > >ls -ld /var > drwxrwxrwx 6 Administ Ninguno 0 Apr 12 2002 /var drwxrwxrwx 3 asuncion Ninguno 0 Apr 12 2002 /var/cron drwxrwxrwx 2 asunci

RE: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
What are the ownership/permissions for '/var'? That is, ls -ld /var > -Original Message- > From: Eric De La Cruz Lugo [mailto:[EMAIL PROTECTED]] > Sent: Friday, December 06, 2002 2:09 PM > To: [EMAIL PROTECTED] > Subject: RE: cron problem in W2K Proffesional

RE: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
>1. Have you read /usr/doc/Cygwin/cron.README? Yes. >2. Have you tried using a simple crontab entry? > What have you tried? yes i am using now the following example: crontab -e * * * * * /usr/bin/date >> /tmp/date.txt "as you suggested to Buck Turgidson" but there is nothing yet in /tmp/ (6

RE: cron problem in W2K Proffesional

2002-12-06 Thread Harig, Mark A.
1. Have you read /usr/doc/Cygwin/cron.README? 2. Have you tried using a simple crontab entry? What have you tried? For future reference, please include your 'cygcheck.txt' file as an attachment only. > > Just for the record, i have done the following: > > cygrunsrv -E cron > cygrunsrv -R cr

Fwd: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
Information about passwd and group files Just for the record (again) passwd file: SYSTEM:*:18:544:,S-1-5-18:: Administradores:*:544:544:,S-1-5-32-544:: Administrador:unused_by_nt/2000/xp:500:513:U-SRVCORDEMEX\Administrador,S-1-5-21-854245398-1202660629-1343024091-500:/home/Administrador:/bin/bas

Fwd: cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
Just for the record, i have done the following: cygrunsrv -E cron cygrunsrv -R cron cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec" cygrunsrv -S cron Here is my new output too. after doing: $CYGWIN='tty ntsec' $EXPORT CYGWIN Cygwin Win95/NT Configuration Diagnostics Current Sy

Re: cron problem in W2K Proffesional

2002-12-06 Thread Christopher Faylor
On Fri, Dec 06, 2002 at 08:49:06AM -0800, Eric De La Cruz Lugo wrote: >Hi!, i just installed cygwin in my PC in order to run >a shell script, this script run just fine form the >command line, now i need to run this script every >minute ("cron" and "crontab" issue). > >I have read all the mail list

cron problem in W2K Proffesional

2002-12-06 Thread Eric De La Cruz Lugo
Hi!, i just installed cygwin in my PC in order to run a shell script, this script run just fine form the command line, now i need to run this script every minute ("cron" and "crontab" issue). I have read all the mail list and FAQ and README files and applied every posible hint and advise, but my s

Help! - cron problem

2002-05-23 Thread cyg win
I'm trying to run cron daemon, but when I run it, I got an error "cron error cron.exe has generated errors and will be closed by windows. You will need to restart the program. An error log is being created." My system is Win2k professional, and I installed all cygwin package, th

Re: Cron problem

2002-05-14 Thread Gerrit P. Haase
Mark schrieb: > Give me simple one or two-line perl scripts that duplicate your problem > and I will try them. The scripts should just print the working > directory or the date or something simple like that. It sounds like a > PATH problem or a mount-point problem or the startup mode of cron.

Cron problem

2002-05-14 Thread Gerrit P. Haase
Cron writes: > receiving file list ... done > /TheBat/spamlist.txt > wrote 16527 bytes read 3178 bytes 3031.54 bytes/sec > total size is 1915965 speedup is 97.23 > Can't open perl script "/TheBat/spammer.pl": No such file or directory spammer.pl is called by a perl script that is start by cro

Re: cron problem

2002-03-05 Thread Michael Adler
On Tue, 5 Mar 2002, Corinna Vinschen wrote: > On Thu, Feb 28, 2002 at 10:49:51AM -0500, Michael Adler wrote: > > What I think should really happen is that cron should create those > > directories during installation so they are owned by whoever installed > > cygwin. > > Would you mind to help o

Re: cron problem

2002-03-05 Thread Corinna Vinschen
On Thu, Feb 28, 2002 at 10:49:51AM -0500, Michael Adler wrote: > What I think should really happen is that cron should create those > directories during installation so they are owned by whoever installed > cygwin. I think you're right but don't forget that the permissions should be set to 1777 o

RE: cron problem

2002-02-28 Thread Sanjay Gupta
Message- From: Michael Adler [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 28, 2002 7:50 AM To: Sanjay Gupta Cc: '[EMAIL PROTECTED]' Subject: Re: cron problem I reported a related problem a few weeks ago and then reported a fix for this last week. Unfortunately, I haven't see

Re: cron problem

2002-02-28 Thread Michael Adler
IL PROTECTED]> > To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> > Subject: cron problem > > Why, I am getting the following error when creating cronjobs. > > $ crontab -e > no crontab for Administrator - using an empty one > crontab: installing ne

cron problem

2002-02-27 Thread Sanjay Gupta
Why, I am getting the following error when creating cronjobs. $ crontab -e no crontab for Administrator - using an empty one crontab: installing new crontab crontab: error renaming tabs/tmp.000107 to tabs/Administrator rename: Permission denied crontab: edits left in /tmp/crontab.107 Sanjay --

Re: Cron problem

2001-12-23 Thread Jari Aalto
* Thu 2001-12-20 Corinna Vinschen <[EMAIL PROTECTED]> list.cygwin * Message-Id: <[EMAIL PROTECTED]> | On Thu, Dec 20, 2001 at 02:28:02PM -0500, Satya Nemana wrote: > >> Any info on how to make this cron work, will be of great help to us all. > | Just to be sure, I'm telling my setup. Thank you Co

Re: Cron problem

2001-12-20 Thread Corinna Vinschen
On Thu, Dec 20, 2001 at 02:28:02PM -0500, Satya Nemana wrote: > Any info on how to make this cron work, will be of great help to us all. Just to be sure, I'm telling my setup. - cron installed with cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=binmode tty ntsec" - My /etc/passwd (part

RE: Cron problem

2001-12-20 Thread Satya Nemana
I had the same CRON problem. Got struckup. I was about send this same requets to cygwin. As you wanted, here is the event log info that I captured from my Windows 2000 system after setting up cygwin cron. I noticed that following is the event type generated in event logs. The time stamp of this

Re: Cron problem

2001-12-20 Thread Corinna Vinschen
On Wed, Dec 19, 2001 at 03:15:42PM -0800, Ryan Koopmans wrote: > Hello, > > I'm having trouble running cron with Cygwin: > CYGWIN_NT-4.0 CITYWEB02 1.3.6(0.47/3/2) 2001-12-08 17:02 i686 unknown > > I installed cron with the command > > $ cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=binmo

Cron problem

2001-12-19 Thread Ryan Koopmans
Hello, I'm having trouble running cron with Cygwin: CYGWIN_NT-4.0 CITYWEB02 1.3.6(0.47/3/2) 2001-12-08 17:02 i686 unknown I installed cron with the command $ cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=binmode tty ntsec" -e "MAILTO=rkoopmans@city ofsacramento.org" I install a crontab

Re: cron problem: Can Domain user run cron

2001-12-19 Thread Tiffany Chan
Corinna, In that normal domain server, I tried to mkpasswd -ld and passwd group -ld from seversal times, but still not work. Hm...I have not change the group file after made. For passwd file, i only change group of Domain administrator from 10513(None) to 10512 (Domain admin). I also did it in pa

Re: cron problem: Can Domain user run cron

2001-12-19 Thread Corinna Vinschen
On Wed, Dec 19, 2001 at 01:01:11PM +, Tiffany Chan wrote: > Corinna, > > There are two cases: > 1. In domain controller server, both Domain admin and > Domain user can run cron correctly. There is no > problem > > 2. But in another w2k server (in domain, but not > domain controller), Domain

cron problem: Can Domain user run cron

2001-12-19 Thread Tiffany Chan
Corinna, There are two cases: 1. In domain controller server, both Domain admin and Domain user can run cron correctly. There is no problem 2. But in another w2k server (in domain, but not domain controller), Domain admin run cron correctly . But domain user cannot run cron, error : can't switch

Cron problem - tried suggestion in mail list

2001-12-18 Thread Tiffany Chan
Hi, Sorry that I have common question on cron. I got cron error : can't switch user context. I have tried the following suggestion in mail list: 1. remove cron and install as SYSTEM $rm -Rf /var/cron $cygrunsrv -E cron $cygrunsrv -R cron $cygrunsrv -I cron -p /usr/sbin/cron -a -D -e