X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SARE_FREE_WEBM_LAPOSTE X-Spam-Check-By: sourceware.org Message-ID: <4B71EE11.4020508@laposte.net> Date: Wed, 10 Feb 2010 00:21:53 +0100 From: Cyrille Lefevre User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: about cron Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-me-spamlevel: not-spam X-me-spamrating: 40.000000 X-me-spamcause: OK, (0)(0000)gggruggvucftvghtrhhoucdtuddrvdeltddrvdehucetggdotefuucfrrhhofhhilhgvmecuoehnohhnvgeqnecuuegrihhlohhuthemuceftddtnecu X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi, I use ksh as /bin/sh bcoz pdksh is far more performant than bash (the same heavy script takes around 2.5 mins using ksh and around 6 mins using bash !) $ ls -l /usr/bin/sh lrwxrwxrwx 1 root root 7 2010-02-08 17:11 /usr/bin/sh -> ksh.exe But : package version : cron-4.1-57.tar.bz2 $ cron-config /usr/bin/cron-config[853]: [: >: unexpected operator/operand Cron is already installed as a service under account .yg_server.Do you want to remove or reinstall it? (yes/no) => the first line should be #!/bin/bash, not #!/bin/sh /bin/sh is not necesserally bash. if your script needs bash extensions, you must use #!/bin/bash. Regards, PS : don't know why I can't submit to -apps while I'm subscribed ! Cyrille Lefevre -- mailto:Cyrille DOT Lefevre-lists AT laposte DOT net -- 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