Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <6.1.0.6.0.20041028210009.041b5d38@pop.prospeed.net> References: <9F0386F4-2940-11D9-A394-000A957A7EA8 AT apple DOT com> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20041028210009 DOT 041b5d38 AT pop DOT prospeed DOT net> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Robert Pollard Subject: Re: cron won't execute tasks Date: Fri, 29 Oct 2004 09:16:54 -0700 To: Cygwin List X-IsSubscribed: yes On Oct 28, 2004, at 6:04 PM, Larry Hall wrote: > At 08:22 PM 10/28/2004, you wrote: >> Hello all, >> >> This problem is driving me insane (I don't have far to go ;-). >> >> Configuration: >> Windows 2003 Enterprise Edition, quad processor, 12 GB RAM. Just >> downloaded Cygwin a few days ago. So, it should be the latest. >> >> The possible root cause: >> BTW, I am trying to run cron as a service. >> Our IT person installed Cygwin under a domain account. Cron would >> run every minute but wouldn't switch user context. So, I had him >> re-install Cygwin under a new local account that was assigned to the >> Windows Administrators group. > > > > In addition to what Igor said, make sure you've read > '/usr/share/doc/Cygwin/cron.README'. 'crond' won't be able to switch > users > if your service isn't run as SYSTEM. Running it as a member of the > Domain > Users and/or Administrators is of no value/use. Actually, the only way I can get cron to execute tasks as a service is to indicate the login to be the current user. Otherwise, if I set it to allow the SYSTEM account to be used it will return an error in the system log indicating it couldn't switch user context. Any ideas why? Thanks! > > > > -- > Larry Hall http://www.rfk.com > RFK Partners, Inc. (508) 893-9779 - RFK Office > 838 Washington Street (508) 893-9889 - FAX > Holliston, MA 01746 > > > -- > 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/ > -- 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/