Issue #253 has been updated by Raphaël Ouazana.

Thank you. Just to note that my /etc/default/locale is already set to 
en_US.UTF-8. Maybe it is a shell problem (/bin/sh is called instead of 
/bin/bash...).
----------------------------------------
Bug #253: Bad default character handling
http://tools.lsc-project.org/issues/253

Author: Raphaël Ouazana
Status: Closed
Priority: Normal
Assigned to: Jonathan Clarke
Category: Packaging
Target version: 1.2.1
Version: 


Hi,

I use the cron job defined in LSC :
<pre>
30 * * * * root [ -x #LSC_BIN ] && #LSC_BIN# -s all -c all > /dev/null 2>&1
</pre>
While the command @#LSC_BIN# -s all -c all@ works fine when I launch it in a 
terminal, it fails when launched by cron.

It was in fact a problem with the default terminal encoding. To make it work I 
had to add:

<pre>
30 * * * * root [ -x #LSC_BIN ] && LANG=en_US.UTF-8 #LSC_BIN# -s all -c all > 
/dev/null 2>&1
</pre>

But your meleage may vary, depending on your real configuration file encoding...

Regards,
Raphaël Ouazana.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://tools.lsc-project.org/my/account
_______________________________________________________________
Ldap Synchronization Connector (LSC) - http://lsc-project.org

lsc-dev mailing list
[email protected]
http://lists.lsc-project.org/listinfo/lsc-dev

Reply via email to