JDBC connection by crontab - Mailing list pgsql-interfaces

From NSB)Hiroshi Kasamatsu
Subject JDBC connection by crontab
Date
Msg-id 3AC2E8D2.8B4EA35C@fancy.ocn.ne.jp
Whole thread Raw
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: can't start pgaccess
Next
From: Swaminathan Natarajan
Date:
Subject: PLEASE HELP ME!!!binary in text/varchar?