delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <414F15BE.3010203@tdc.hu> |
Date: | Mon, 20 Sep 2004 19:39:10 +0200 |
From: | =?ISO-8859-2?Q?Mogyor=F3si_Istv=E1n?= <imogyorosi AT tdc DOT hu> |
Organization: | TeleDataCast |
User-Agent: | Mozilla Thunderbird 0.7.3 (Windows/20040803) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Crontab issue |
X-Virus-Scanned: | by amavisd-new at tdc.hu |
X-Virus-Scanned: | by amavisd-new-20030616-p7 (Debian) at mail.tdc.hu |
--------------020504030505020803090103 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hello, I spent quite a lot of time reading the subject and I still dont have clear sight on the problem. It is probably a permission/access sync issue between Cygwin and NT. But my case is NOT a network drive. Case 1, crontab -e [ logged in as Administrator ] 20 12 * * * /home/Administrator/mydate.sh [ my own script to exec ] ----- it works with the result written in my home directory. mydate.sh is `date >mydate.txt` Case 2, crontab -e [ logged in as Administrator ] 25 12 * * * /cygdrive/e/otherpath/mydate.sh [ my second script to exec ] ------------- this does not work. My Error message in Eventlog is: bla .. bla .. /usr/sbin/cron : PID 2356 : (Administrator) CMD (/cygdrive/e/otherpath/mydate.sh 2>&1) The access permissions for both shell scripts are identical. The only difference is the path to execute. If I install the service as Administrator, and try to start it with the Service Control Manager it fails to start and I get the error message in the Event Log: ... bla bla .. Cygwin_cron : PID 2260 : starting service 'Cygwin_cron' failed : execv: 1 , Operation not permitted. Any comments welcome, Regards Istvan Mogyorosi --------------020504030505020803090103 Content-Type: text/x-vcard; charset=utf-8; name="imogyorosi.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="imogyorosi.vcf" begin:vcard fn;quoted-printable:Istv=C3=A1n Mogyor=C3=B3si n;quoted-printable;quoted-printable:Mogyor=C3=B3si;Istv=C3=A1n org:TeleDataCast Kft. adr:;;HAuszmann Alajos u. 2.;BUDAPEST;;1117;HUNGARY email;internet:imogyorosi AT tdc DOT hu title;quoted-printable:fejleszt=C5=91 tel;cell:+36703323249 x-mozilla-html:FALSE url:http://www.tdc.hu version:2.1 end:vcard --------------020504030505020803090103 Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --------------020504030505020803090103--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |