This is the mail archive of the
mailing list for the Cygwin project.
- From: Cyrille Lefevre <cyrille dot lefevre-lists at laposte dot net>
- To: cygwin at cygwin dot com
- Date: Wed, 10 Feb 2010 00:21:53 +0100
- Subject: about cron
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
package version : cron-4.1-57.tar.bz2
/usr/bin/cron-config: [: >: 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.
PS : don't know why I can't submit to -apps while I'm subscribed !
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple