JDBC connection by crontab

Поиск
Список
Период
Сортировка
От NSB)Hiroshi Kasamatsu
Тема JDBC connection by crontab
Дата
Msg-id 3AC2E8D2.8B4EA35C@fancy.ocn.ne.jp
обсуждение исходный текст
Список pgsql-interfaces
I am sorry that this is a specific problem because of its language.

I am testing periodic insertion into PostgreSQL table by cron.

First of all,I wrote kasa.sh.

PATH=$PATH:/usr/local/jdk1.3/bin:/usr/local/pgsql/bin
CLASSPAHT=.:/usr/local/lib/postgresql.jar:/home/postgres
export PATH CLASSPATH
/usr/local/jdk1.3/bin/java crontest

,where crontest is a java application.

Next,I edited cron using crontab -e.

0 4 * * * /bin/sh kasa.sh

The result was good except for insertion of japanese language.

Please tell me how japanese can be inserted into text column.

Thanks in advance.

Hiroshi Kasamatsu




В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: can't start pgaccess
Следующее
От: Swaminathan Natarajan
Дата:
Сообщение: PLEASE HELP ME!!!binary in text/varchar?