JDBC connection by crontab
JDBC connection by crontab
От:
"NSB)Hiroshi Kasamatsu" <hkasa@fancy.ocn.ne.jp>
Дата:
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