Re: crontab: no changes made to crontab

2024-07-07 Thread Andrey Repin via Cygwin
Greetings, Brian Inglis via Cygwin! > On 2024-07-06 04:50, Andrey Repin via Cygwin wrote: >> I'm trying to install a new cron job, and the thing fails claiming that it >> didn't see the edits I made to the file. >>>> # echo "USER=$USER" | crontab -

Re: crontab: no changes made to crontab

2024-07-07 Thread Brian Inglis via Cygwin
On 2024-07-06 04:50, Andrey Repin via Cygwin wrote: I'm trying to install a new cron job, and the thing fails claiming that it didn't see the edits I made to the file. # echo "USER=$USER" | crontab - # crontab -l # DO NOT EDIT THIS FILE - edit the master and reinstall. #

Re: crontab: no changes made to crontab

2024-07-07 Thread Adam Dinwoodie via Cygwin
On Sat, 6 Jul 2024 at 12:06, Andrey Repin via Cygwin wrote: > I'm trying to install a new cron job, and the thing fails claiming that it > didn't see the edits I made to the file. > > > > Is there a way around it that does not involve replacing crontab tool with my &

crontab: no changes made to crontab

2024-07-06 Thread Andrey Repin via Cygwin
Greetings, All! I'm trying to install a new cron job, and the thing fails claiming that it didn't see the edits I made to the file. >> # echo "USER=$USER" | crontab - >> >> # crontab -l >> # DO NOT EDIT THIS FILE - edit the master and reinstall. &

Re: crontab message "must be privileged to use -u"

2020-03-20 Thread Stephen Carrier
On Wed, Mar 18, 2020 at 10:54:51PM +0300, Andrey Repin wrote: > Greetings, All! > > I'm trying to use Cygwin's cron, but have a small issue: > > # crontab -u 18 -l > must be privileged to use -u > > Is there a way around the problem? > I'm in an eleva

Re: crontab message "must be privileged to use -u"

2020-03-19 Thread ASSI
Brian Inglis writes: > Installed libfakesu - fakesu just scans source for functions it can fake - it > is > undocumented and not obvious how you are meant to run it. > One library function can implement suid/sgid exe permission bits. Sorry, then I misremembered what it was for back from the discu

Re: crontab message "must be privileged to use -u"

2020-03-18 Thread Brian Inglis
On 2020-03-18 15:39, Achim Gratz wrote: > Andrey Repin writes: >>>> I'm in an elevated shell, but it seems crontab is doing a dumb POSIX check >>>> for >>>> EUID=0. >> >>> Then wrapping it with fakesu should work (no I have not tried tha

Re: crontab message "must be privileged to use -u"

2020-03-18 Thread Achim Gratz
Andrey Repin writes: >>> I'm in an elevated shell, but it seems crontab is doing a dumb POSIX check >>> for >>> EUID=0. > >> Then wrapping it with fakesu should work (no I have not tried that). > > Cool idea, but I'm not up for recompiling cro

Re: crontab message "must be privileged to use -u"

2020-03-18 Thread Andrey Repin
Greetings, Achim Gratz! > Andrey Repin writes: >> I'm trying to use Cygwin's cron, but have a small issue: >> >> # crontab -u 18 -l >> must be privileged to use -u >> >> Is there a way around the problem? >> I'm in an elevated she

Re: crontab message "must be privileged to use -u"

2020-03-18 Thread Achim Gratz
Andrey Repin writes: > I'm trying to use Cygwin's cron, but have a small issue: > > # crontab -u 18 -l > must be privileged to use -u > > Is there a way around the problem? > I'm in an elevated shell, but it seems crontab is doing a dumb POSIX check for >

crontab message "must be privileged to use -u"

2020-03-18 Thread Andrey Repin
Greetings, All! I'm trying to use Cygwin's cron, but have a small issue: # crontab -u 18 -l must be privileged to use -u Is there a way around the problem? I'm in an elevated shell, but it seems crontab is doing a dumb POSIX check for EUID=0. -- With best regards, Andrey

Re: Trying to run a crontab in cygwin

2018-09-26 Thread john doe
On 9/26/2018 7:14 PM, Indrieri, Timothy wrote: > To Whom this may concern, > > I am trying to run a .sh file in cygwin. I have followed multiple tutorials. > But cannot get the scheduler crontab to run. > My understanding is that a cron job can be emulated by using the task sc

Re: Trying to run a crontab in cygwin

2018-09-26 Thread Marco Atzeri
Am 26.09.2018 um 19:14 schrieb Indrieri, Timothy: To Whom this may concern, I am trying to run a .sh file in cygwin. I have followed multiple tutorials. But cannot get the scheduler crontab to run. Please let me know if there is some step I missed. Thank you, Timothy Indrieri I assume

Trying to run a crontab in cygwin

2018-09-26 Thread Indrieri, Timothy
To Whom this may concern, I am trying to run a .sh file in cygwin. I have followed multiple tutorials. But cannot get the scheduler crontab to run. Please let me know if there is some step I missed. Thank you, Timothy Indrieri Associate RF Engineer T-Mobile -- Problem reports: http

Re: cron running but not executing user crontab

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

Re: cron running but not executing user crontab

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

cron running but not executing user crontab

2018-01-15 Thread Chris Johnson
Bit of a conundrum here.  Running WIN7 and cygwin64.  Have the terminal running and Perl is installed and runs.  AFAIK, that all works.  Used cygrunsrv to get cron going.  I can see cron in a ps -af in the terminal.  I set up a crontab for my user and it's in /var/cron/tabs by using cront

Re: System crontab with username containing a space

2017-08-24 Thread Erik Soderquist
On Thu, Aug 24, 2017 at 3:20 PM, Erik Soderquist wrote: > I ran into a similar issue where I had a space in a mount, and I had > to use some form of octal/hex encoding, but I no longer remember the > exact details... > > > I will try to reproduce this and see what I can find. Well, I confirmed wha

Re: System crontab with username containing a space

2017-08-24 Thread Brian Inglis
On 2017-05-25 17:19, Gene Pavlovsky wrote: > Due to circumstances beyond my control, I've got a user account on a > remote PC which contains a space in the username, i.e. "Test > Computer". > I've set up Cygwin and cron, and am having problems with the system cron

Re: System crontab with username containing a space

2017-08-24 Thread Erik Soderquist
On Thu, May 25, 2017 at 7:19 PM, Gene Pavlovsky wrote: > Hey folks :) > > Due to circumstances beyond my control, I've got a user account on a > remote PC which contains a space in the username, i.e. "Test > Computer". > I've set up Cygwin and cron, and am h

System crontab with username containing a space

2017-05-25 Thread Gene Pavlovsky
Hey folks :) Due to circumstances beyond my control, I've got a user account on a remote PC which contains a space in the username, i.e. "Test Computer". I've set up Cygwin and cron, and am having problems with the system crontab. I can't figure out how to put the usernam

Re: Can a .sh script stored in c:\scripts\ (Windows part of filesystem) be run from crontab?

2016-07-28 Thread Warren Young
On Jul 27, 2016, at 9:31 AM, Peder Sverdrup wrote: > > When I open the cygwin terminal I can run the script manually. But if I > include it in my crontab, it does not run. Append something like “ > /bup.log 2>&1 “ to the end of your crontab lines and examine the output.

Re: Can a .sh script stored in c:\scripts\ (Windows part of filesystem) be run from crontab?

2016-07-28 Thread Andrey Repin
Greetings, Peder Sverdrup! > I have my own backupscript, lets call it "bup.sh". It is stored on the > c-drive, in the directory c:\scripts\. > When I open the cygwin terminal I can run the script manually. But if I > include it in my crontab, it does not run. > If I

Can a .sh script stored in c:\scripts\ (Windows part of filesystem) be run from crontab?

2016-07-27 Thread Peder Sverdrup
Hi, I have my own backupscript, lets call it "bup.sh". It is stored on the c-drive, in the directory c:\scripts\. When I open the cygwin terminal I can run the script manually. But if I include it in my crontab, it does not run. If I copy the script to /home/myuser/myscripts/ I can r

Member of Administrators, high integrity level, yet crontab compains "need privileged user"

2016-05-03 Thread Enrique Perez-Terron
Hello, I just tried this: enrique@rev /usr/local/bin $ crontab -u Heidi -l must be privileged to use -u I understood that "privileged user" under cygwin means "Member of Administrators". I am running the mintty window with elevated privileges. What am I mis

Re: Unable to send e-Mail from crontab in Cygwin

2015-09-17 Thread Nem W Schlecht
2) Create a new shell script or link in its place So: rm /usr/sbin/sendmail ln -s /usr/bin/msmtp /usr/sbin/sendmail (Note - use a decent editor instead of cat ... Control-D) I just installed 'msmtp' on a new install and ran 'msmtp-config'. If /usr/sbin/sendmail does *not

Unable to send e-Mail from crontab in Cygwin

2015-09-16 Thread Shantaraman,Karthik
Hi, I have set up cygwin in my Windows Vista machine and have configured cron by running the cygrunsrv command. I am trying to send an automated mail everyday with cron but it is not working out. Could you help me with this? #Borrowed from anacron SHELL=/bin/bash PATH=/usr/sbin:/usr/bin USER

Re: Launch a windows application from crontab

2014-02-11 Thread bartels
On 02/10/2014 07:13 AM, carl wrote: > I feared it :( What possibilities remain to me with a win7 system? The > background for my problem is a windows application that sometimes > crashes silently (it is still open but doesn't do what it should) and had to > be restarted. A big amount of Voodoo so

Re: Launch a windows application from crontab

2014-02-10 Thread Andrey Repin
Greetings, Andrey Repin! >> What possibilities remain to me with a win7 system? The background for my >> problem is a windows application that sometimes crashes silently (it is >> still open but doesn't do what it should) and had to be restarted. >> A big amount of Voodoo sounds interesting ;-) bu

Re: Launch a windows application from crontab

2014-02-10 Thread Andrey Repin
Greetings, carl! > What possibilities remain to me with a win7 system? The background for my > problem is a windows application that sometimes crashes silently (it is > still open but doesn't do what it should) and had to be restarted. > A big amount of Voodoo sounds interesting ;-) but perhabs I

Re: Launch a windows application from crontab

2014-02-09 Thread carl
ssibilities remain to me with a win7 system? The background for my problem is a windows application that sometimes crashes silently (it is still open but doesn't do what it should) and had to be restarted. A big amount of Voodoo sounds interesting ;-) but perhabs I should simply use win

Re: Launch a windows application from crontab

2014-02-08 Thread Andrey Repin
Greetings, carl! > Hi, > im working with windows 7 and have the same problem if i want to run a > windows application from cron. > the problem for me: if i active "Allow service to interact with desktop" i > had to switch to local user and then the cron service doesn't work anymore. > is there a

crontab is not executed

2014-02-08 Thread steven
might be log entries from a previous cygwin64bit installation (im now running a 32bit cygwin environment) futher down the one can only see that i edited the crontab quite some time for testing, but nothing works. with this: + ls -alh /usr/sbin/sendmail lrwxrwxrwx 1 14354s None 16 Feb 1 18:38 /usr

Re: Launch a windows application from crontab

2014-02-08 Thread carl
or this problem menawhile? -- View this message in context: http://cygwin.1069669.n5.nabble.com/Launch-a-windows-application-from-crontab-tp37762p106108.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ:

Re: Cygwin 1.5.25 issue: Crontab on Windows

2013-11-26 Thread Christopher Faylor
Btw, you mention an "embedded product". I'm hoping that you are aware of GPL restrictions for Cygwin which require you to provide source code for the product: http://cygwin.com/licensing.html If you are providing binaries to third parties you must also make sure that they are aware that they can

Re: Cygwin 1.7.25 issue: Crontab on Windows (was ...1.5.25...)

2013-11-26 Thread Warren Young
On 11/26/2013 02:27, Aleksander Panayotov wrote: It was actually a typo - a missing "2". What I meant was that I tested it with the 1.7.25 version (the latest one that was on your website last week) and not with 1.7.5. Okay, then. The standard solution here is to set your installer to require

Re: Cygwin 1.5.25 issue: Crontab on Windows

2013-11-26 Thread Aleksander Panayotov
the Cygwin is embedded in. I am using a rather simplified > cygwin package containing the most basic functions. > > Main content > > The crontab utility, provided by Cygwin, is used to run maintenace > scripts. Since everything is done during the installation, I > encoun

Re: Cygwin 1.5.25 issue: Crontab on Windows

2013-11-25 Thread Christopher Faylor
On Mon, Nov 25, 2013 at 09:20:25AM -0700, Warren Young wrote: >On 11/25/2013 01:57, Aleksander Panayotov wrote: >> >> I have also tested this on Cygwin 1.7.5 and I >> observe the same behaviour. > >The only thing that matters on this list is whether it happens with the >*current* version. If not,

Re: Cygwin 1.5.25 issue: Crontab on Windows

2013-11-25 Thread Warren Young
On 11/25/2013 01:57, Aleksander Panayotov wrote: I have also tested this on Cygwin 1.7.5 and I observe the same behaviour. The only thing that matters on this list is whether it happens with the *current* version. If not, the answer is simple: upgrade. By the way, you probably lost 95% of

Cygwin 1.5.25 issue: Crontab on Windows

2013-11-25 Thread Aleksander Panayotov
the installation the Cygwin is embedded in. I am using a rather simplified cygwin package containing the most basic functions. Main content The crontab utility, provided by Cygwin, is used to run maintenace scripts. Since everything is done during the installation, I encountered the following issue: 1)

Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 10:26 PM, Andrey Repin wrote: Greetings, Emlio! The way I set the EDITOR var to nano is: $ EDITOR=nano; And if i type "EDITOR" nano editor is opened. But when I run crontab -e I get the crontab edited by vi(m) again. $ EDITOR=nano crontab -e ? Yep, this worked! I

Re: Can't edit crontab

2012-02-16 Thread Andrey Repin
Greetings, Emlio! >>> The way I set the EDITOR var to nano is: >>> $ EDITOR=nano; >>> And if i type "EDITOR" nano editor is opened. But when I run crontab -e >>> I get the crontab edited by vi(m) again. >> $ EDITOR=nano crontab -e >> &

Re: Can't edit crontab

2012-02-16 Thread Gary Johnson
On 2012-02-16, Emlio wrote: > Hi all > > I'm using cygwin in order to use cron under an XP machine. When I run > the command > > $ crontab -e > > I get a vi (vim?) editor, but I'm not able to use it propertly. After > pressing "insert" the ke

Re: Can't edit crontab

2012-02-16 Thread Gary Johnson
On 2012-02-16, Emlio wrote: > On 02/16/2012 02:58 PM, Andrey Repin wrote: > >Greetings, Emlio! > > > >>The way I set the EDITOR var to nano is: > >>$ EDITOR=nano; > >>And if i type "EDITOR" nano editor is opened. But when I run crontab -e > &

Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 02:41 PM, Earnie Boyd wrote: On Thu, Feb 16, 2012 at 7:24 AM, Emlio wrote: The way I set the EDITOR var to nano is: $ EDITOR=nano; And if i type "EDITOR" nano editor is opened. But when I run crontab -e I get the crontab edited by vi(m) again. set | grep -i vi Does

Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 02:58 PM, Andrey Repin wrote: Greetings, Emlio! The way I set the EDITOR var to nano is: $ EDITOR=nano; And if i type "EDITOR" nano editor is opened. But when I run crontab -e I get the crontab edited by vi(m) again. $ EDITOR=nano crontab -e ? -- WBR, Andrey Rep

Re: Can't edit crontab

2012-02-16 Thread Andrey Repin
Greetings, Emlio! > The way I set the EDITOR var to nano is: > $ EDITOR=nano; > And if i type "EDITOR" nano editor is opened. But when I run crontab -e > I get the crontab edited by vi(m) again. $ EDITOR=nano crontab -e ? -- WBR, Andrey Repin (anrdae...@freemail.

Re: Can't edit crontab

2012-02-16 Thread Earnie Boyd
On Thu, Feb 16, 2012 at 7:24 AM, Emlio wrote: > > The way I set the EDITOR var to nano is: > > $ EDITOR=nano; > > And if i type "EDITOR" nano editor is opened. But when I run crontab -e I > get the crontab edited by vi(m) again. set | grep -i vi Does the output o

Re: Can't edit crontab

2012-02-16 Thread Emlio
ed? What's the result of running `which nano`? Yep, nano is installed: $ which.exe nano /usr/bin/nano The way I set the EDITOR var to nano is: $ EDITOR=nano; And if i type "EDITOR" nano editor is opened. But when I run crontab -e I get the crontab edited by vi(m) again. -- Pr

RE: Can't edit crontab

2012-02-16 Thread Adam Dinwoodie
On 16 February 2012 at 11:40, Emlio wrote: > I've tried to set the env variable EDITOR as nano, in order to use this > editor instead, but the trick doesn't seem to work in cygwin. This works fine for me. Are you sure you have nano installed? What's the result of running `which nano`? -- Adam D

Re: Can't edit crontab

2012-02-16 Thread Emlio
On 02/16/2012 12:40 PM, Emlio wrote: Hi all I'm using cygwin in order to use cron under an XP machine. When I run the command $ crontab -e I get a vi (vim?) editor, but I'm not able to use it propertly. After pressing "insert" the keyboard doesn't work properly. Fo

Can't edit crontab

2012-02-16 Thread Emlio
Hi all I'm using cygwin in order to use cron under an XP machine. When I run the command $ crontab -e I get a vi (vim?) editor, but I'm not able to use it propertly. After pressing "insert" the keyboard doesn't work properly. For example, if I press the arrows I get c

Re: Copy to network UNC path from crontab works in non-production, not in production

2011-05-11 Thread Larry Hall (Cygwin)
On 5/11/2011 9:20 PM, CygwinNoob wrote: Thanks for responding so quickly! I will try using the forward slashes in Production. It may take a few days because I don't have direct access to the Production environment and I have to go through sort of remote hands. The source server queries Oracle

Re: Copy to network UNC path from crontab works in non-production, not in production

2011-05-11 Thread CygwinNoob
gt;>> Q: Why is top posting annoying in email? > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: Copy to network UNC path from crontab works in non-production, not in production

2011-05-11 Thread Larry Hall (Cygwin)
On 5/11/2011 8:50 PM, CygwinNoob wrote: cygwin 1.7.7-1 Windows 2008 64-bit I have a script that I am trying to run from cron that copies a local file on a Windows 2008 server to a UNC path on another Windows 2008 server. It works fine in a non-Production environment, but not in Production and

Copy to network UNC path from crontab works in non-production, not in production

2011-05-11 Thread CygwinNoob
non-Production and Production environments. I considered installing Cygwin on the target server in Production (even though it's not needed), so I did a test in a non-Production environment and it didn't work, so I haven't pursued that path. -- View this message in context: http://old.nab

Re: Start a crontab service

2011-03-18 Thread Marc Girod
Marc Girod wrote: > > Still reading... > Actually... in my very simple case, running: /usr/bin/cron-config and accepting the defaults (recording my own password) was enough to get cron the work... $ cygrunsrv -L cron $ crontab ~/cron/mg $ crontab -l # DO NOT EDIT THIS FILE - edit t

Re: Start a crontab service

2011-03-18 Thread Marc Girod
Larry W. Virden-2 wrote: > > If you find a sequence of steps that gets it working correctly, please > let me know. Not yet... but found some doc I had missed: /usr/share/doc/Cygwin/cron-4.1-59.README as part of the cron package (I looked at the crontab one so far...). This sends me

Re: Start a crontab service

2011-03-18 Thread Larry W. Virden
On Thu, Mar 17, 2011 at 6:07 PM, Marc Girod wrote: > > Hello, > I tried to install cron locally on my laptop, and could not find > instructions to proceed. I understand. I tried so many different things trying to get this to work a year or two ago and never was successful in getting it to work. I

Start a crontab service

2011-03-17 Thread Marc Girod
and : /usr/sbin/sshd.exe stdin path : /dev/null stdout path : /var/log/sshd.log stderr path : /var/log/sshd.log Process Type: Own Process Startup : Automatic Account : LocalSystem Service : crontab Current State : Stopped Comm

Re: Using ssmtp called in a script called by a crontab entry...

2010-08-20 Thread René Berber
Blaine Miller wrote: [snip] > I've run ssmtp-config and accepted the defaults where indicated. > However, when I type *mail* at the command prompt I get *command could > not be found*. There is no mail on the package ssmtp. Try first 'man ssmtp' and see if the description is enough to do what yo

Re: Using ssmtp called in a script called by a crontab entry...

2010-08-20 Thread Blaine Miller
Pierre, First of all, let me thank you for your very quick response. I believe we're getting closer. when I execute: */usr/sbin/ssmtp blaine.mil...@smithmicro.com* I get this for a response... ssmtp: Cannot open exchange.smsi.com:25 I would guess that either I've got the wrong mailhub nam

Re: Using ssmtp called in a script called by a crontab entry...

2010-08-20 Thread Pierre A. Humblet
- Original Message - From: "Blaine Miller" To: Sent: Friday, August 20, 2010 17:51 | Hello, | | I have a need for ssmtp to send out a *job completed* email from within | a script that is called as an entry in a cron table. I've read all I can | from the *Installing and configuring s

Using ssmtp called in a script called by a crontab entry...

2010-08-20 Thread Blaine Miller
Hello, I have a need for ssmtp to send out a *job completed* email from within a script that is called as an entry in a cron table. I've read all I can from the *Installing and configuring ssmtp* man pages as well as the Knowledgebase and FAQ's on the cygwin site. From what I gather it should

Re: starting excel from crontab

2010-07-27 Thread cygwin . 20 . maillinglist
Original-Nachricht > Datum: Wed, 21 Jul 2010 16:06:22 +0200 > Von: "Corinna Vinschen - corinna-cyg...@cygwin.com" > <+cygwin+maillinglist+27352a5def.corinna-cygwin#cygwin@spamgourmet.com> > An: cygwin@cygwin.com > Betreff: Re: starting excel

Re: starting excel from crontab

2010-07-21 Thread Christopher Faylor
On Wed, Jul 21, 2010 at 06:57:56AM -0700, KARR, DAVID (ATTSI) wrote: >> -Original Message- >> From: cygwin-owner [mailto:cygwin-owner] On >> Behalf Of cygwin.20.maillinglist >> Sent: Wednesday, July 21, 2010 2:14 AM >> To: "cygwin" >> Subject

Re: starting excel from crontab

2010-07-21 Thread Corinna Vinschen
On Jul 21 11:13, cygwin.20.maillingl...@spamgourmet.com wrote: > Hi folks, > > I have the problem that I like to start Excel at the end of the workday from > crontab. > > Cron is running under a local system account. > > The problem is that excel is started but does

RE: starting excel from crontab

2010-07-21 Thread KARR, DAVID (ATTSI)
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > Behalf Of cygwin.20.maillingl...@spamgourmet.com > Sent: Wednesday, July 21, 2010 2:14 AM > To: "cygwin@cygwin.com" > Subject: starting excel from crontab > > Hi f

starting excel from crontab

2010-07-21 Thread cygwin . 20 . maillinglist
Hi folks, I have the problem that I like to start Excel at the end of the workday from crontab. Cron is running under a local system account. The problem is that excel is started but does not popup. When I change the check box "Exchange Data with Desktop" I got always the error

crontab installation fails?

2010-06-23 Thread cygwin . 20 . maillinglist
Hi folks, I tried to install crontab on my windows7 with my admin account and get two problems. 1. Error ist the Error in openPolicy (LsaOpenPolicy returned 0xc022=STATUS_ACCESS_DENIED)! 2. cygrunsrv: Error installing a service: OpenSCManager: Win32 error 5: Zugriff verweigert What is

Re: crontab not working-need some advice

2010-06-09 Thread Larry Hall (Cygwin)
On 6/9/2010 1:59 PM, curiousgeorge wrote: Hi, I installed cygwin on windows server 2003 and am trying to learn about cron. I created a simple script as follows: #!/usr/bin/bash #move the file every 1 min echo 'date'>> datelog.txt mv datelog.txt outbound I then created a c

crontab not working-need some advice

2010-06-09 Thread curiousgeorge
Hi, I installed cygwin on windows server 2003 and am trying to learn about cron. I created a simple script as follows: #!/usr/bin/bash #move the file every 1 min echo 'date' >> datelog.txt mv datelog.txt outbound I then created a crontab using the command crontab -e as follows

Re: crontab problem

2010-05-31 Thread Pierre A. Humblet
At 02:49 PM 5/30/2010, System wrote: Hi. I`m using CYGWIN Posix environment under windows xp sp2 (ru) But i have problem with crontab. It didnt start as service anyway. If anythink is unclear let me know. See the attach file. Thanks in advance. Hi, PATH is unusual: C:\cygwin\step\bin The

crontab problem

2010-05-30 Thread System
Hi. I`m using CYGWIN Posix environment under windows xp sp2 (ru) But i have problem with crontab. It didnt start as service anyway. If anythink is unclear let me know. See the attach file. Thanks in advance. Current version -rwxr-xr-x 1 Àäìèíèñòðàòîð root 5304 Feb 16 06:14 /usr/share/doc

Re: rond: PID 3080: (*system*) WRONG FILE OWNER (/etc/crontab)

2009-11-05 Thread Larry Hall (Cygwin)
On 11/05/2009 08:19 PM, nwpu053...@gmail.com wrote: it seems that the file /etc/crontab must be owned by root. But there is not a root user in my computer. How could solve the problem? Do i have to create a root user for windows? Be careful. Things are not always as they first seem. I&#

rond: PID 3080: (*system*) WRONG FILE OWNER (/etc/crontab)

2009-11-05 Thread nwpu053...@gmail.com
it seems that the file /etc/crontab must be owned by root. But there is not a root user in my computer. How could solve the problem? Do i have to create a root user for windows? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation

Re: crontab 1.12 issuing error about

2009-10-27 Thread Pierre A. Humblet
dministrator can read about | the setup? We've been googling and trying things described at sites like | http://csc.csudh.edu/kleyba/cygwin-cron.pdf . Following that | cygwin-cron information, he installed the cron parts, changed the | permissions, ran the cron-config, ran the crontab -e. The cygr

Re: crontab 1.12 issuing error about

2009-10-26 Thread Pierre A. Humblet
e file. | | | /cygdrive/c/products/cygwin_1.7/bin/cygrunsrv: warning: OpenService failed for 'TapiSrv': Win32 error 5 | Access is denied. | | I've checked the events viewer on this machine, and the only crontab related events are the ones mentioned in the cronevents output, which are,

Re: Cygwin 1.7 crontab question

2009-10-22 Thread Larry Hall (Cygwin)
On 10/21/2009 02:14 PM, Larry W. Virden wrote: I now have access to a Cygwin 1.7 installation. I've been trying things out and I am having a spot of trouble that I hope someone can help me through. ... Um, when are you actually going to start a new thread rather than hijacking others? This is

Re: Cygwin 1.7 crontab question

2009-10-21 Thread Dmitry Semyonov
On Wed, Oct 21, 2009 at 22:14, Larry W. Virden wrote: > However, I don't know what environment variables the crontab entries will > have. Look at X-Cron-Env headers in e-mail notifications generated by cron. > When the time passed for my script to run, I don't see any

Cygwin 1.7 crontab question

2009-10-21 Thread Larry W. Virden
I now have access to a Cygwin 1.7 installation. I've been trying things out and I am having a spot of trouble that I hope someone can help me through. I created a crontab file. In it, I want to run a program from my $HOME/bin directory. However, I don't know what environment var

Re: Trouble creating crontab

2009-07-17 Thread Paul Mead
Will Parsons writes: >>>>Is there no way of just creating the file without using crontab -e? >>> >>>Sure. I've been editing crontabs for years and have never once used >>>crontab -e. What I do: >>> >>>crontab -l > crontab.lst

Re: Trouble creating crontab

2009-07-16 Thread Christopher Faylor
On Thu, Jul 16, 2009 at 11:19:10PM +, Will Parsons wrote: >Ralph Hempel wrote: >>Honestly, can we please not have every "sarcastic" answer interpreted >>as a personal slight? > >And it wasn't? You could have fooled me. Apparently I did. cgf -- Problem reports: http://cygwin.com/proble

Re: Trouble creating crontab

2009-07-16 Thread Will Parsons
Ralph Hempel wrote: > Will Parsons wrote: > >>>>> Is there no way of just creating the file without using crontab -e? >>>> Sure. I've been editing crontabs for years and have never once used >>>> crontab -e. What I do: >>>> >>&g

Re: Trouble creating crontab

2009-07-16 Thread Dave Korn
Ralph Hempel wrote: > Will Parsons wrote: > >>>>> Is there no way of just creating the file without using crontab -e? >>>> Sure. I've been editing crontabs for years and have never once used >>>> crontab -e. What I do: >>>> >

Re: Trouble creating crontab

2009-07-16 Thread Ralph Hempel
Will Parsons wrote: Is there no way of just creating the file without using crontab -e? Sure. I've been editing crontabs for years and have never once used crontab -e. What I do: crontab -l > crontab.lst edit crontab.lst crontab crontab.lst I always just use the toggle switche

Re: Trouble creating crontab

2009-07-16 Thread Will Parsons
html#ntsec-ids> >>>> >>>>You should be more successful with a Cygwin-enabled editor, if you'd >>>>prefer not to track down the permission issues with NT Emacs and >>>>Cygwin. >>> >>>I'd love to use whatever works, I'v

Re: Trouble creating crontab

2009-07-16 Thread Christopher Faylor
d be more successful with a Cygwin-enabled editor, if you'd >>>prefer not to track down the permission issues with NT Emacs and >>>Cygwin. >> >>I'd love to use whatever works, I've got no problem using Cygwin emacs >>or Vim but for some reason, cronta

Re: Trouble creating crontab

2009-07-16 Thread Will Parsons
ck down the permission issues with NT Emacs and Cygwin. > > I'd love to use whatever works, I've got no problem using Cygwin emacs > or Vim but for some reason, crontab -e insists on firing up a new > instance of NT Emacs. > > Is there no way of just creating the file with

Re: Trouble creating crontab

2009-07-16 Thread Mark J. Reed
On Thu, Jul 16, 2009 at 1:51 PM, Paul Mead wrote: > "Mark J. Reed" <...> writes: http://www.cygwin.com/acronyms/#PCYMTNQREAIYR > So I've managed to falteringly edit my crontab using vim (doesn't feel > right and I made loads of mistakes, so I've go

Re: Trouble creating crontab

2009-07-16 Thread Paul Mead
things to check: > > 1. Make sure the EDITOR variable is exported. Just setting it locally > in bash won't affect crontab. > 2. Make sure VISUAL isn't set differently; it overrides EDITOR for some apps. Thanks Mark, I was fiddling around and found the setting in the batc

Re: Trouble creating crontab

2009-07-16 Thread Mark J. Reed
ed. Just setting it locally in bash won't affect crontab. 2. Make sure VISUAL isn't set differently; it overrides EDITOR for some apps. -- Mark J. Reed -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://c

Re: Trouble creating crontab

2009-07-16 Thread Paul Mead
ygwin. I'd love to use whatever works, I've got no problem using Cygwin emacs or Vim but for some reason, crontab -e insists on firing up a new instance of NT Emacs. Is there no way of just creating the file without using crontab -e? If not, how do I get it to use a different editor?

Re: Trouble creating crontab

2009-07-16 Thread Larry Hall (Cygwin)
, I still have a problem creating crontab. I run crontab -e and it fires up emacs (my editor of choice) but can't create the crontab file becuase the temp version is unreadable. I also tried to open it using another editor by was denied access. Any thoughts anyone? Cygwin Emacs or something el

Re: Trouble creating crontab

2009-07-16 Thread Paul Mead
"Larry Hall (Cygwin)" writes: > Paul Mead wrote: >> OK, now that I appear to have sorted my permissions out in general, I >> still have a problem creating crontab. >> >> I run crontab -e and it fires up emacs (my editor of choice) but can't >> cre

Re: Trouble creating crontab

2009-07-16 Thread Larry Hall (Cygwin)
Paul Mead wrote: OK, now that I appear to have sorted my permissions out in general, I still have a problem creating crontab. I run crontab -e and it fires up emacs (my editor of choice) but can't create the crontab file becuase the temp version is unreadable. I also tried to open it

Trouble creating crontab

2009-07-16 Thread Paul Mead
OK, now that I appear to have sorted my permissions out in general, I still have a problem creating crontab. I run crontab -e and it fires up emacs (my editor of choice) but can't create the crontab file becuase the temp version is unreadable. I also tried to open it using another editor b

Re: editing crontab using gvim

2009-02-18 Thread Shai
more days it would have been a bit funnier. > >>> On Tue, Jan 29 2008, Shai wrote: >>> >>> > Hi, >>> > >>> > I have gvim installed and when I do: >>> > $ crontab -e >>> > gvim opens up my crontab. >>> > >&

Re: editing crontab using gvim

2009-01-27 Thread Toby Allsopp
29 2008, Shai wrote: >> >> > Hi, >> > >> > I have gvim installed and when I do: >> > $ crontab -e >> > gvim opens up my crontab. >> > >> > But, it opens it as readonly and saving it requires wq! but then when >> > it e

Re: editing crontab using gvim

2009-01-26 Thread Gary Johnson
On 2009-01-27, Shai wrote: > On Tue, Jan 29, 2008 at 9:42 PM, Toby Allsopp wrote: > > > > On Tue, Jan 29 2008, Shai wrote: > > > I have gvim installed and when I do: > > > $ crontab -e > > > gvim opens up my crontab. > > > > > > But,

  1   2   3   >