From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15151 invoked by alias); 23 Jan 2003 03:47:36 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 15144 invoked from network); 23 Jan 2003 03:47:35 -0000 Received: from unknown (HELO mail.netstd.com) (211.152.42.5) by 172.16.49.205 with SMTP; 23 Jan 2003 03:47:35 -0000 Received: (qmail 25591 invoked from network); 9 Feb 2003 05:02:19 -0000 Received: from unknown (HELO netstd.com) (192.168.16.6) by ns2.1.168.192.in-addr.arpa with SMTP; 9 Feb 2003 05:02:19 -0000 Message-ID: <3E2F65D1.8080406@netstd.com> Date: Thu, 23 Jan 2003 10:47:00 -0000 From: Wu Yongwei Organization: Kingnet Security, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en, en-us, zh-cn, zh MIME-Version: 1.0 To: cygwin Subject: Re: Cron Problems Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2003-01/txt/msg01338.txt.bz2 Thanks. However, where can I find the options of cron? Now I only find some info in /usr/doc/Cygwin/cron.README, but only in the ChangeLog section, which I ignored on the first reading! And what is the use of the option -a? Best regards, Wu Yongwei --- Original Message from Elfyn McBratney --- > 2) How to start cron when starting the computer? I tried running it > as a service in cygrunsrv (cygrunsrv -I cron -p /usr/sbin/cron), but > failed since starting the service always failed (cron : Win32 Process > Id = 0x3F8 : Cygwin Process Id = 0x3F8 : starting service `cron' > failed: execv: 0, No error.) but the process cron appeared. Your problem is that your not passing the -D (Do not kill off parent process; which allows cron to be used by the service manager) option. So you need to append `-a -D' to your cygrunsrv line when installing cron. Regards, Elfyn McBratney -- 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/