Problem with cron for localized chars

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

We are facing issues with cron in Linux for Japanese, Korean and Chinese languages.


We are setting cron entries in using its native language (localized), but corresponding cron entries dose not get executed.


For Example:-


I set the following entry in crontab-:-


<cron entry>

 50 3 * * 1,2,3,4,5,6  . /opt/avaya/envdir/envfile cron; echo "Japanese chars " >/tmp/logh 1>/dev/null 2>&1 #Daily

 </ cron entry>


Encoding used for Japanese chars � UTF-8


O.S version- RHEL 4.3


Locale set on system � ja_JP.utf8 


How ever after execution of cron I saw file /tmp/logh were generated in tmp directory.

Length of file logh was zero bytes.


I observed corresponding cron log as follows:-

<cron>

     Jun 26 03:50:01 pudslx18 crond[17217]: (admin) CMD (. /opt/avaya/envdir/envfile cron; echo "\343\202\217\343\201\237\343\201\227" >/tmp/logh 1>/dev/null 2>&1 #Daily)

 </cron>


If I change the locale to ja_JP.SJIS, behavior remains the same.


Can anybody please help us on above issue?


Thanks in advance

--
Anish Patil
_______________________________________________
Redhat-devel-list mailing list
Redhat-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/redhat-devel-list

[Index of Archives]     [Kernel Newbies]     [Red Hat General]     [Fedora]     [Red Hat Install]     [Linux Kernel Development]     [Yosemite News]

  Powered by Linux