Hello,
At Monday 24 September 2012 12:46:52 DaB. wrote:
I have tried the cronie solutions, (with
LC_ALL=fr_FR.UTF-8 on cronie) but
there is a message when saving :
couldn't set locale correctly
couldn't set locale correctly
cronie: installing new crontab
For the export in the script, it fail with message
/home/hercule/batch/LienHu.sh: LANG=fr_FR.utf8: n'est pas un identificateur
As you can see (the error-message is in French) the export worked somewhere
:-).
Please notice 4 things:
-LC_ALL and LANG is not the same (see [1] for details).
-fr_FR.utf8 is wrong most times, use fr_FR.UTF-8
-Use "#!/bin/bash" in shell-scripts at the 1 line
-Please tell us always WHERE something failed (on which box).
Sincerely,
DaB.
[1]
http://pubs.opengroup.org/onlinepubs/007908799/xbd/envvar.html
--
Userpage: [[:w:de:User:DaB.]] — PGP: 2B255885