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://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-Id: | <5.1.0.14.2.20020227182808.0252b688@mail.attbi.com> |
X-Sender: | d DOT kohn AT mail DOT attbi DOT com |
X-Mailer: | QUALCOMM Windows Eudora Version 5.1 |
Date: | Wed, 27 Feb 2002 18:43:12 -0600 |
To: | cygwin AT cygwin DOT com |
From: | David Kohn <d DOT kohn AT attbi DOT com> |
Subject: | cron, crontab question |
In-Reply-To: | <1014842054.8965.ezmlm@cygwin.com> |
Mime-Version: | 1.0 |
I've setup cron on nt40 using cygwin 1.3.9. Cron setup as a service no problem, using ntsec, made my passwd & group files. I created the crontab while using the id that I wanted the process to inherit from. Cron is scheduled to run a perl script every 10 minutes (and it does). I checked the uid of the pid and it shows the correct uid. I get a permissions error on opening and writing to a file. This error does not occur when I run the script from a bash shell (also using ntsec). no mapped drives. What other things do I need to check. if i wanted to test using the ntschedular on the same perl script (perl that comes with the cygwin distribution), would i code it: c:\bin\bash -c "perl c:\....." ? another question. could I set that perl script to run as a service ? could I use cygrunsrv ? Thanks for any and all help. PS. when I look in the task manager why do I see cygrunsrv running in addition to cron ? am not running cygrunsrv in bash shell ? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |