Re: Installing Cron on Windows 2003 Server...

2007-03-16 Thread Pedro Alves
Eric Blake wrote: Pedro Alves portugalmail.pt> writes: Dave Korn wrote: Ctrl+D is a better way to close the file actually. If you mean EOF, why not *say* EOF? Unless you type it one time too much, and ... uupps, there goes the shell :) Which is why I h

Re: Installing Cron on Windows 2003 Server...

2007-03-16 Thread Eric Blake
Pedro Alves portugalmail.pt> writes: > > Dave Korn wrote: > > Ctrl+D is a better way to close the file actually. If you mean EOF, why not > > *say* EOF? > > > > Unless you type it one time too much, and ... uupps, there goes the shell :) Which is why I have 'set -o ignoreeof' in my ~/.

Re: Installing Cron on Windows 2003 Server...

2007-03-16 Thread Pedro Alves
Dave Korn wrote: Ctrl+D is a better way to close the file actually. If you mean EOF, why not *say* EOF? :-) Unless you type it one time too much, and ... uupps, there goes the shell :) Cheers, Pedro Alves -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem repor

Re: Installing Cron on Windows 2003 Server...

2007-03-16 Thread Matthew Woehlke
k if it did on Cygwin. :-) ...and shouldn't that be 'cat >> ...' instead of 'cat > ...'? Well, the difference would be whether you (or in this case, Kevin) want(s) all the 'mails' to get appended to an ever-growing cronmail.txt, or want each new '

RE: Installing Cron on Windows 2003 Server...

2007-03-16 Thread Dave Korn
7;t that be 'cat >> ...' instead of 'cat > ...'? Well, the difference would be whether you (or in this case, Kevin) want(s) all the 'mails' to get appended to an ever-growing cronmail.txt, or want each new 'mail' to overwrite the previous on

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Matthew Woehlke
Pierre A. Humblet wrote: It's working because we know it's trying to mail you something. To find out what, remove MAILTO="" and install a poor man's mailer as follows. It will write the mail output to /cronmail.txt ~: cd / /: cat > cronmail.sh cat > /cronmail.txt (NOTE: type CTRL-C after typi

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Pierre A. Humblet
- Original Message - From: "Kevin Markle" To: Sent: Thursday, March 15, 2007 5:43 PM Subject: Re: Installing Cron on Windows 2003 Server... | Pierre A. Humblet pretended : | > - Original Message - | > From: "Kevin Markle" | > To: | > Sent:

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Kevin Markle
Pierre A. Humblet pretended : - Original Message - From: "Kevin Markle" To: Sent: Thursday, March 15, 2007 4:45 PM Subject: Re: Installing Cron on Windows 2003 Server... Larry Hall (Cygwin) explained on 3/15/2007 : Kevin Markle wrote: Hello, I'm attempting to in

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Kevin Markle
Pierre A. Humblet explained : - Original Message - From: "Kevin Markle" To: Sent: Thursday, March 15, 2007 4:45 PM Subject: Re: Installing Cron on Windows 2003 Server... Larry Hall (Cygwin) explained on 3/15/2007 : Kevin Markle wrote: Hello, I'm attempting to in

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Pierre A. Humblet
- Original Message - From: "Kevin Markle" To: Sent: Thursday, March 15, 2007 4:45 PM Subject: Re: Installing Cron on Windows 2003 Server... | Larry Hall (Cygwin) explained on 3/15/2007 : | > Kevin Markle wrote: | >> Hello, | >> | >> I'm attempti

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Kevin Markle
After serious thinking René Berber wrote : Kevin Markle wrote: Larry Hall (Cygwin) explained on 3/15/2007 : Kevin Markle wrote: Hello, I'm attempting to install cron on a Windows 2003 machine and am somewhat Unix challanged. Is there a documented procedure that works somewhere. It

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Kevin Markle
René Berber submitted this idea : Kevin Markle wrote: Larry Hall (Cygwin) explained on 3/15/2007 : Kevin Markle wrote: Hello, I'm attempting to install cron on a Windows 2003 machine and am somewhat Unix challanged. Is there a documented procedure that works somewhere. It seems that

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread René Berber
Kevin Markle wrote: > Larry Hall (Cygwin) explained on 3/15/2007 : >> Kevin Markle wrote: >>> Hello, >>> >>> I'm attempting to install cron on a Windows 2003 machine and am >>> somewhat Unix challanged. Is there a documented procedure that wo

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Kevin Markle
Larry Hall (Cygwin) explained on 3/15/2007 : Kevin Markle wrote: Hello, I'm attempting to install cron on a Windows 2003 machine and am somewhat Unix challanged. Is there a documented procedure that works somewhere. It seems that there are tons of posts out relating to this but they all

Re: Installing Cron on Windows 2003 Server...

2007-03-15 Thread Larry Hall (Cygwin)
Kevin Markle wrote: Hello, I'm attempting to install cron on a Windows 2003 machine and am somewhat Unix challanged. Is there a documented procedure that works somewhere. It seems that there are tons of posts out relating to this but they all seem to offer different information. :o)

Installing Cron on Windows 2003 Server...

2007-03-15 Thread Kevin Markle
Hello, I'm attempting to install cron on a Windows 2003 machine and am somewhat Unix challanged. Is there a documented procedure that works somewhere. It seems that there are tons of posts out relating to this but they all seem to offer different information. :o) I was wondering if an

Still having problems with cron writing to a restricted directory

2007-03-08 Thread Jerome Fong
directory, everyone else has read privileges. When I run my script interactively, the sub-directory gets written. However, when I run the same script under cron, I get the following error: mkdir: cannot create directory `/builds/test': Permission denied I search everywhere but there doesn'

Re: why is my gid different when I run my script under cron?

2007-03-05 Thread Larry Hall (Cygwin)
Jerome Fong wrote: I forgot to note that the directory I am writing into is a shared directory on a different machine which only my windows XP user has privileges to write into. But my uid and gid matches when I run interactively and in batch, so I'm confused. Is there anything else it is r

Re: why is my gid different when I run my script under cron?

2007-03-05 Thread Jerome Fong
cting? thanks, Jerome Jerome Fong wrote: Hi there, I have a script that works interactively. However when I schedule it to run with cron, I encounter permission and environment issues. I checked and even though my cron process has my user id, my group id is different. Interactively, I have

Re: why is my gid different when I run my script under cron?

2007-03-05 Thread Larry Hall (Cygwin)
Jerome Fong wrote: Hi there, I have a script that works interactively. However when I schedule it to run with cron, I encounter permission and environment issues. I checked and even though my cron process has my user id, my group id is different. Interactively, I have a gid=10545(mkgroup

Re: why is my gid different when I run my script under cron?

2007-03-05 Thread Morgan Gangwere
you have to su as _you_ or have scripts that can do the tasks as root (ie "su root << rootpass") On 3/5/07, Jerome Fong <[EMAIL PROTECTED]> wrote: Hi there, I have a script that works interactively. However when I schedule it to run with cron, I encounter permission and

why is my gid different when I run my script under cron?

2007-03-05 Thread Jerome Fong
Hi there, I have a script that works interactively. However when I schedule it to run with cron, I encounter permission and environment issues. I checked and even though my cron process has my user id, my group id is different. Interactively, I have a gid=10545(mkgroup-l-d), but in my

Re: Cron Guidance

2007-03-02 Thread Larry Hall (Cygwin)
[EMAIL PROTECTED] wrote: Please let know if any guide exist for setting up the cron on Cygwin under Windows XP. I really need a primer with examples and a guide on tools editing the cron. My Google search gave me the start, yet I am hoping for some tips on best practices. In addition, I need to

Cron Guidance

2007-03-02 Thread robert_neville310
Please let know if any guide exist for setting up the cron on Cygwin under Windows XP. I really need a primer with examples and a guide on tools editing the cron. My Google search gave me the start, yet I am hoping for some tips on best practices. In addition, I need to configure Cygwin with the

Re: cron run task can not see samba mounts.

2007-02-19 Thread Larry Hall (Cygwin)
hanks. Daksa wrote: > As you can see, when I run the command manually from a xcygwin xterm > the script has no issues seeing z: mounted at /mnt/z. No such luck > when the script is run from cron. I notice some subtle differences in > the env but I can't explain why the samba s

Re: cron run task can not see samba mounts.

2007-02-19 Thread Daksa
Thanks for the link, those pointers eventually lead to me solving this nasty issue. The FAQ makes it sound simple to get private shares working, but in reality it is not entirely straight forward. Providing the password to net use while cron was being run as the SYSTEM user did not fix the issue

Re: cron run task can not see samba mounts.

2007-02-18 Thread Larry Hall (Cygwin)
Daksa wrote: As you can see, when I run the command manually from a xcygwin xterm the script has no issues seeing z: mounted at /mnt/z. No such luck when the script is run from cron. I notice some subtle differences in the env but I can't explain why the samba share would not appear fro

cron run task can not see samba mounts.

2007-02-18 Thread Daksa
I have a cronjob setup so that I can backup several files from the windows local fs to folders on one of my samba shares which is mounted on my windows machine. I setup cron as a windows service using the following as a guide http://www.cygwin.com/ml/cygwin/2002-01/msg01940.html. The cronjob

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-29 Thread Steve Rowley
Thanks for the suggestions so far. However, after trying all the suggestions, I'm still unable to launch cron. Is there anything further to try before looking for alternatives to cron? >Date: Thu, 25 Jan 2007 15:05:01 -0500 >From: Steve Rowley <[EMAIL PROTECTED]> > >>

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-26 Thread Igor Peshansky
On Fri, 26 Jan 2007, Marco Atzeri wrote: > --- Corinna Vinschen <[EMAIL PROTECTED]> ha scritto: . Thanks. > > Actually the SID S-1-5-32-545 is the Users group on > > the local machine. > > If you need the SID for the Domain Users group you > > have to

Re: PING ntsec [was RE: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2]

2007-01-26 Thread Corinna Vinschen
On Jan 26 12:00, Dave Korn wrote: > On 26 January 2007 09:34, Corinna Vinschen wrote: > > > > once in a while? It's outdated (Dave?) > > Hi, haven't forgotten but got a bit overloaded. I'll try and finish a first > draft this weekend. Cool, thanks! Corinna -- Corinna Vinschen

PING ntsec [was RE: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2]

2007-01-26 Thread Dave Korn
On 26 January 2007 09:34, Corinna Vinschen wrote: > once in a while? It's outdated (Dave?) Hi, haven't forgotten but got a bit overloaded. I'll try and finish a first draft this weekend. cheers, DaveK -- Can't think of a witty .sigline today -- Unsubscribe info: http

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-26 Thread Marco Atzeri
--- Corinna Vinschen <[EMAIL PROTECTED]> ha scritto: > Actually the SID S-1-5-32-545 is the Users group on > the local machine. > If you need the SID for the Domain Users group you > have to retrieve > it using `mkgroup -d -g "Domain Users"', which gives > you something > like this: > > $ mkgr

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-26 Thread Corinna Vinschen
On Jan 25 19:55, DePriest, Jason R. wrote: > mkgroup_l_d:S-1-5-32-545:10545: > > A Google search for > GID 10545 > implies that this is 'Domain Users'. > > Not that it should make a big difference, but you might want to edit > your /etc/group and change > mkgroup_l_d:S-1-5-32-545:10545: > to > Do

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-25 Thread Steve Rowley
>Guests:S-1-5-32-546:546: >Network Configuration Operators:S-1-5-32-556:556: >Power Users:S-1-5-32-547:547: >Remote Desktop Users:S-1-5-32-555:555: >Replicator:S-1-5-32-552:552: >Users:S-1-5-32-545:545: >Debugger Users:S-1-5-21-473916646-3257906905-3362627345-

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-25 Thread DePriest, Jason R.
On 1/25/07, Steve Rowley wrote: >Date: Tue, 23 Jan 2007 16:23:19 - >From: "Dave Korn" > >Seems like you don't have a valid /etc/groups file. You should fix that first. My /etc/group file was made by: >$ mkgroup -lc >/etc/group Here are its current contents; if you can spot anything wr

RE: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-25 Thread Steve Rowley
domain. So I just removed the mkgroup_l_d line from /etc/group; is that what you recommend? That, alas, did not fix the problem. Running cron-config still produced the following when it tried to start cron as a service: >Do you want to start the cron daemon as a service now? (yes/no) yes &g

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-25 Thread Steve Rowley
s over the hill and through the woods to launch a SYSTEM owned shell... So when the SYSTEM owned shell popped up, it could easily fork an ls process: >[EMAIL PROTECTED] / >$ ls >bin cygdrive cygwin.bat cygwin.ico etc lib proc sbin srv tmp usr var >You could also try star

RE: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-25 Thread Dave Korn
On 25 January 2007 18:03, Steve Rowley wrote: >> Date: Tue, 23 Jan 2007 16:23:19 - >> From: "Dave Korn" >> >> Seems like you don't have a valid /etc/groups file. You should fix that >> first. > > My /etc/group file was made by: > > >$ mkgroup -lc >/etc/group > > Here are its current c

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-25 Thread Brian Dessent
d you like me to type at this SYSTEM > owned shell? Here I meant just run ordinary commands like ls, less, whatever. Pretty much anything you do from a shell prompt causes a fork, so really I was just curious if you got tons of error messages when trying to do anything or not. You could also try

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-25 Thread Steve Rowley
>Date: Tue, 23 Jan 2007 12:39:47 -0800 >From: Brian Dessent > >> cron: PID 4388: starting service `cron' failed: fork: 11, Resource >> temporarily unavailable. > >The problem is that the fork call is failing when cygrunsrv tries to >launch cron. There are

RE: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-25 Thread Steve Rowley
>Date: Tue, 23 Jan 2007 16:23:19 - >From: "Dave Korn" > >Seems like you don't have a valid /etc/groups file. You should fix that first. My /etc/group file was made by: >$ mkgroup -lc >/etc/group Here are its current contents; if you can spot anything wrong, I'd be pleased to hear it. Pe

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-23 Thread Brian Dessent
Steve Rowley wrote: > cron: PID 4388: starting service `cron' failed: fork: 11, Resource > temporarily unavailable. > > It's starting to look to me as though the problem is either at the > cygrunsrv level or the WinXP level. The problem is that the fork call is failin

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-23 Thread Steve Rowley
[Did we make each other's acquaintance @ MIT LIDS in the 1980's?] >Date: Tue, 23 Jan 2007 10:26:20 -0500 >From: "Pierre A dot Humblet" > >It's not clear if the problem is in cron, cygrunsrv, cygwin or your XP setup. >So here are two suggestions: >

RE: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-23 Thread Dave Korn
> UID: 421382(nm67644) GID: 547(Power Users) > 544(Administrators) 547(Power Users) 545(Users) > 10545(mkgroup_l_d) Seems like you don't have a valid /etc/groups file. You should fix that first. > Support for details. The following information is part of the event: c

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-23 Thread Pierre A. Humblet
- Original Message - From: "Steve Rowley" To: Sent: Monday, January 22, 2007 11:25 PM Subject: ***[Possible UCE]*** Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2 | >Date: Mon, 22 Jan 2007 15:16:19 -0800 | >From: Brian Dessent | > | >Steve

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-23 Thread Steve Rowley
[Summary: no significant directory permission problems; after fixing even what looked like small problems, the cron daemon still will not start. Any more suggestions? I'm willing to try just about anything.] >Date: Tue, 23 Jan 2007 10:38:29 +0100 (CET) >From: Marco Atzeri > >

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-23 Thread Marco Atzeri
--- Steve Rowley <[EMAIL PROTECTED]> ha scritto: > >Date: Mon, 22 Jan 2007 15:16:19 -0800 > >From: Brian Dessent > > > >Steve Rowley wrote: > >> >In case of problem, examine the log file for > cron, > >> >/var/log/cron.log, and

Re: Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-22 Thread Brian Dessent
Steve Rowley wrote: > (1) Starting it via the cron-config script produces this: Normally this is the only thing you have to do. > >In case of problem, examine the log file for cron, > >/var/log/cron.log, and the Windows event log > >for information about the p

Can't start cron daemon in Cygwin 1.5.23 under WinXP SP2

2007-01-22 Thread Steve Rowley
For several years, I've been a satisfied user of Cygwin's cron on Windows (happy enough that I trust it to do my daily backups, which is considerable trust). Cron might not be easy to install and get working, but it tends to stay working once it's happy, and that keeps me happy.

[ANNOUNCEMENT] Updated: cron-3.0.1-22

2006-12-02 Thread Corinna Vinschen
I have updated the version of cron on cygwin.com to 3.0.1-22. Same as 3.0.1-21 with a minor quoting bugfix in cron-config. To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup

[ANNOUNCEMENT] Updated: cron-3.0.1-21

2006-12-01 Thread Corinna Vinschen
I have updated the version of cron on cygwin.com to 3.0.1-21. Thanks to Pierre Humblet for the following contributions: Add warning to set MAILTO="" if no sendmail is installed. Fix a bash incompatibility in cron-config. To update your installation, click on the "Install Cygw

Re: cron jobs quit after 1 minute

2006-11-30 Thread Andrew Louie
G.W. Haywood jubileegroup.co.uk> writes: > Hi there, > You might find that it's trying to send you mail, and that sendmail > (or some other mail executable) isn't available. This will cause the > cron job to halt. It caught me out when I first ran cygwin. Hey!!! Y

RE: cron jobs quit after 1 minute

2006-11-30 Thread G.W. Haywood
Hi there, On 29 November 2006 21:08, Andrew Louie wrote: > I want to set up a cron job [...] the script can take a long time to > finish, as it does many different tasks. > > The problem is that after about 1 minute, the script will just stop You might find that it's trying

Re: cron jobs quit after 1 minute

2006-11-29 Thread Larry Hall (Cygwin)
Andrew Louie wrote: Dave Korn artimi.com> writes: On 29 November 2006 21:08, Andrew Louie wrote: I want to set up a cron job to execute a perl script every day at 4am. I have successfully set up the job so that it will execute the script, the only problem is the script can take a long t

Re: cron jobs quit after 1 minute

2006-11-29 Thread Andrew Louie
Dave Korn artimi.com> writes: > > On 29 November 2006 21:08, Andrew Louie wrote: > > > I want to set up a cron job to execute a perl script every day at 4am. I > > have successfully set up the job so that it will execute the script, the > > only problem is the

RE: cron jobs quit after 1 minute

2006-11-29 Thread Dave Korn
On 29 November 2006 21:08, Andrew Louie wrote: > I want to set up a cron job to execute a perl script every day at 4am. I > have successfully set up the job so that it will execute the script, the > only problem is the script can take a long time to finish, as it does many > dif

cron jobs quit after 1 minute

2006-11-29 Thread Andrew Louie
I want to set up a cron job to execute a perl script every day at 4am. I have successfully set up the job so that it will execute the script, the only problem is the script can take a long time to finish, as it does many different tasks. The problem is that after about 1 minute, the script will

RE: How do I get cron working under Cygwin?

2006-11-23 Thread Dave Korn
On 23 November 2006 17:27, PC Support wrote: > The message I am getting from WinXP Event Viewer for Applications is: > > The description for Event ID ( 0 ) in Source ( /usr/sbin/cron ) cannot > be found. The local computer may not have the necessary registry > information or messa

How do I get cron working under Cygwin?

2006-11-23 Thread PC Support
I am trying to get cron running under cygwin on Windows XP. I have installed cron and cygrunsrv, checked all the permissions on every file and every directory related to cron (changed a+rwx on everything just for kicks) and I have run the following but cron still does not work: --- #!/usr

Re: Cron doenst work with the Network Drives

2006-11-17 Thread Larry Hall (Cygwin)
Ilya Vishnyakov wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm trying to set up a simple cron job with the network drive. I use cron 3.0.1 with cygwin.my crontab has this : * * * * * /usr/bin/cp /tmp/date.txt /etc/date.txt it works fine once i start the cron job however

Cron doenst work with the Network Drives

2006-11-17 Thread Ilya Vishnyakov
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, I'm trying to set up a simple cron job with the network drive. I use cron 3.0.1 with cygwin.my crontab has this : * * * * * /usr/bin/cp /tmp/date.txt /etc/date.txt it works fine once i start the cron job however when try to * * * * * /us

RE: Cron and find

2006-11-17 Thread Dave Korn
On 17 November 2006 15:12, Eric Blake wrote: > According to cygwill on 11/17/2006 8:02 AM: >> ok - I've worked this out. The find command works if I explicitly use >> /usr/bin/find >> >> no idea why this is an issue when cron runs as the same user I'm logged

Re: Cron and find

2006-11-17 Thread Eric Blake
;> expect to see >> >> -name stdout.log.\* >> > > Will Wright-2 wrote: >> Thanks for the tips Brian. I have updated my script accordingly but (as >> you >> guessed) this has made no difference when run via cron. :( >> According to cygwill on 11/17/2006 8:02 A

RE: Cron and find

2006-11-17 Thread cygwill
ok - I've worked this out. The find command works if I explicitly use /usr/bin/find no idea why this is an issue when cron runs as the same user I'm logged in as? Will Wright-2 wrote: > > Thanks for the tips Brian. I have updated my script accordingly but (as > you > gue

Re: Cron and find

2006-11-17 Thread cygwill
Hi - is there any more information I can provide to that below to possibly get more responses? I'm banging my haed against a wall with this a bit, and if I can't get cron to work as it should I might have to resort to some horrid windows solution cygwill wrote: > > H

RE: Cron and find

2006-11-14 Thread Will Wright
Thanks for the tips Brian. I have updated my script accordingly but (as you guessed) this has made no difference when run via cron. :( -Original Message- From: Brian Dessent [mailto:[EMAIL PROTECTED] Sent: 14 November 2006 11:12 To: cygwin@cygwin.com Subject: Re: Cron and find [EMAIL

Re: Cron and find

2006-11-14 Thread will . wright
Thanks for the tips Brian. I have updated my script accordingly but (as you guessed) this has made no difference when run via cron. :( ___ Tiscali Unlimited Broadband with FREE weekend calls only 12.99! http://www.tiscali.co.uk/products

Cron and find

2006-11-14 Thread will . wright
Hi, I have a problem getting a find command which works fine on the command line to work when run via cron. The command is: 4 10 * * 1-5 find /cygdrive/d/Apps_v8p4//Bridge/DataFeed/deploy//quotefeed/logs -type f -name stdout.log\.* -mtime +2 > /cygdrive/d/Apps_v8p4/Bridge/DataFeed/deploy/

Re: Cron and find

2006-11-14 Thread Brian Dessent
ry (although that typically results in syntax errors from find.) This could explain why it happens to work from the command line but not in cron, but it's kind of a long shot. I don't see any other common cron problems (D is not a network drive and your mounts are system-mode.) In an

Re: rsync hangs (maybe due to cron?) when getting data from Windows to Linux PC

2006-11-12 Thread Larry Hall (Cygwin)
H.S. wrote: Recenly, I noticed that I can run that backup rsync command manually on the Linux PC and it worked. But running that command via a script did not work. So, at this point I am not sure what is going wrong, maybe it is my script. I run the same command from the command line and fro

rsync hangs (maybe due to cron?) when getting data from Windows to Linux PC

2006-11-12 Thread H.S.
the Linux PC, I have a cron job which calls my rsync script to copy the directories from Windows PC to the Linux PC. I notice that if there are either too many files, or large files or both to be copied from the Windows PC, rsync hangs and never completes. But with the "-n" option, rs

RE: cron 3.0.1-19 will not run shell scripts

2006-10-30 Thread John S.
y have some idea what is causing the > problem > if you provide sufficient details. > > Please do not include my email address in any reply. > That > simply encourages more spam. > > > -Original Message- > > From: John S. > > Sent: Monday, October

RE: cron 3.0.1-19 will not run shell scripts

2006-10-30 Thread Harig, Mark
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of John S. > Sent: Monday, October 30, 2006 5:04 PM > To: cygwin@cygwin.com > Subject: cron 3.0.1-19 will not run shell scripts > > Greetings, > I hope this is an easy

cron 3.0.1-19 will not run shell scripts

2006-10-30 Thread John S.
Greetings, I hope this is an easy one. Problem: cron will not run any shell scripts. Description: As far as I can tell cron works fine, but cron will not run any shell scripts. The shell scripts work fine if invoked from the shell. $sh /home/phantom/backup_script/daily building file list

RE: cron disables dialog window

2006-10-30 Thread Kevin Cella
That worked perfectly, thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Hall (Cygwin) Sent: Sunday, October 29, 2006 6:48 PM To: cygwin@cygwin.com Subject: Re: cron disables dialog window Kevin Cella wrote: > I have a script that runs

Re: cron disables dialog window

2006-10-29 Thread Larry Hall (Cygwin)
Kevin Cella wrote: I have a script that runs and kicks off a windows program that opens a dialog where it automatically enters the necessary data and submits the result. It works beautifully if I run it through a cygwin shell, but not when executed as a cron job. When executed as a cron job

cron disables dialog window

2006-10-29 Thread Kevin Cella
I have a script that runs and kicks off a windows program that opens a dialog where it automatically enters the necessary data and submits the result. It works beautifully if I run it through a cygwin shell, but not when executed as a cron job.  When executed as a cron job, the dialog window never

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 Dalt

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:/

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

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 prob

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

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 ~/t

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

Re: rsync can run in command line but not in cron

2006-10-05 Thread Thorsten Kampe
* lin q (Wed, 04 Oct 2006 19:38:12 -0600) > I just installed lastest cygwin on windows xp service pack 1. > > I enabled cron in cygwin, the crontab looks like this, > > # DO NOT EDIT THIS FILE - edit the master and reinstall. > # (/tmp/crontab.3548 installed on Wed Oc

Re: rsync can run in command line but not in cron

2006-10-05 Thread Larry Hall (Cygwin)
lin q wrote: Hi, I just installed lastest cygwin on windows xp service pack 1. I enabled cron in cygwin, the crontab looks like this, # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.3548 installed on Wed Oct 4 19:11:00 2006) # (Cron version -- $Id: crontab.c,v 1.8

rsync can run in command line but not in cron

2006-10-04 Thread lin q
Hi, I just installed lastest cygwin on windows xp service pack 1. I enabled cron in cygwin, the crontab looks like this, # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.3548 installed on Wed Oct 4 19:11:00 2006) # (Cron version -- $Id: crontab.c,v 1.8 2004/12/21 16

RE: Exim / cron question

2006-10-02 Thread David Christensen
Joost Kraaijeveld wrote: > I want cron to deliver an e-mail throught exim to an Exchange server, > running on the same machine. I used to run a Windows 2003 Small Business Server with Exchange, and was having a tough time with Exchange, Cygwin Exim, and Cygwin email. I seem to recall m

Re: Exim / cron question

2006-10-01 Thread René Berber
Joost Kraaijeveld wrote: > I want cron to deliver an e-mail throught exim to an Exchange server, > running on the same machine. But using different smtp ports... or listening to different IP addresses? > If I use MAILTO="[EMAIL PROTECTED],user" in my crontab, both the rem

Exim / cron question

2006-10-01 Thread Joost Kraaijeveld
Hi, I want cron to deliver an e-mail throught exim to an Exchange server, running on the same machine. If I use MAILTO="[EMAIL PROTECTED],user" in my crontab, both the remote and the local user get the mail which is delivered in /var/mail/spool. If I use MAILTO="[EMAIL PR

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

RE: cron - error starting a service

2006-09-25 Thread David Rekas
Thanks Pierre, your first suggestion has got this over the line. Given that this development is for a dedicated machine with a single generic username I will stick with the "myself" option for the time being. The interesting thing is I just managed to configure, successfully star

RE: cron - error starting a service

2006-09-21 Thread Harig, Mark
ally the latest > version? > The version number reported by the script is different from the version reported by CVS because several versions were "released" before the Cygwin project accepted the script. If you want to find out whether the script is the one installed with your

Re: cron - error starting a service

2006-09-21 Thread Pierre A. Humblet
- Original Message - From: "David Rekas" To: "Harig, Mark" ; "Pierre A. Humblet" ; cygwin Sent: Thursday, September 21, 2006 12:42 AM Subject: RE: cron - error starting a service Mark & Pierre, thanks for your advice. Please see below. Mark: $ /usr/b

RE: cron - error starting a service

2006-09-20 Thread David Rekas
ays 1.8. Is my /usr/bin/cron_diagnose.sh really the latest version? Pierre: # /etc/crontab: Cannot remove this or entries in this, since it doesn't exist. (Is this "normal"?) # /etc/cron.d: This directory is empty - is this what you meant? # /var/cron/tabs/David Rekas: removed t

Re: cron - error starting a service

2006-09-20 Thread Pierre A. Humblet
- Original Message - From: "David Rekas" To: cygwin Sent: Wednesday, September 20, 2006 3:54 AM Subject: ***[Possible UCE]*** cron - error starting a service Hi, I have installed cron-3.0.1-19 within CYGWIN_NT-5.1 1.5.21(0.156/4/2) on my Win XP 5.1.2600 machine. Configur

RE: cron - error starting a service

2006-09-20 Thread Harig, Mark
> > # Used cron_diagnose.sh 1.8 repeatedly until it no longer found any > problems. > Please try the version of cron_diagnose.sh in /usr/bin (that is, /usr/bin/cron_diagnose.sh). It is a later version than what you reported above. --- -- Unsubscribe info: http://cygwin.com/ml/#unsubscri

Re: cron job don't work correct

2006-09-06 Thread Todde
René Berber-2 wrote: > > Todde wrote: >> >> Igor Peshansky wrote: >>> On Fri, 1 Sep 2006, Todde wrote: >>> >>>> With cygwin i want run a daily script that should build my source every >>>> day. >>>> I want do that with a

<    1   2   3   4   5   6   7   8   9   10   >