Thanks for the quick reply - I will test it. Regards, Dirk
-----Ursprüngliche Nachricht----- Von: Danny Weldon [mailto:danny.wel...@gmail.com] Gesendet: Montag, 16. Juni 2014 12:22 An: Kautzsch, Dirk Cc: ast-developers@lists.research.att.com; ast-developers-ow...@lists.research.att.com Betreff: Re: [ast-developers] ksh93-Scriptdaemon terminates unexpectedly I don't know the cause of the abort, but have you tried using printf to format the date instead? It's built into ksh93 so there won't be any fork required and hopefully won't crash: Use either: print "$(printf '%(%d.%m.%Y %H-%M-%S)T\n') - go: $transferid1 check if lock file still active at $go" or printf "%(%d.%m.%Y %H-%M-%S)T - %s\n" now "go: $transferid1 check if lock file still active at $go\n" On 16 June 2014 20:01, <dirk.kautz...@o-s.de> wrote: > > > I run a ksh93-Daemon (with ‘nohup … &’) and the daemon-process terminates > unexpectedly and sporadically. > > > > The last command executed: > > print "$(date '+%d.%m.%Y %H-%M-%S') - go: $transferid1 check if lock file > still active at $go" >> $CFOG > > > > -> The date-command (GNU coreutils 8.4) caused the abort. > > > > Does anyone have an idea? > > > > Thanks, > > Dirk > > > > Environment: > > > > Server > > > > Red Hat Enterprise Linux Server release 6.4 (Santiago) > > Linux version 2.6.32-358.el6.x86_64 > (mockbu...@x86-022.build.eng.bos.redhat.com) (gcc version 4.4.7 20120313 > (Red Hat 4.4.7-3) (GCC) ) #1 SMP Tue Jan 29 11:47:41 EST 2013 > > > > ksh93-version: sh (AT&T Research) 93u+ 2012-08-01 > > > _______________________________________________ > ast-developers mailing list > ast-developers@lists.research.att.com > http://lists.research.att.com/mailman/listinfo/ast-developers > -- Regards Danny _______________________________________________ ast-developers mailing list ast-developers@lists.research.att.com http://lists.research.att.com/mailman/listinfo/ast-developers