| From: | "NSB)Hiroshi Kasamatsu" <hkasa(at)fancy(dot)ocn(dot)ne(dot)jp> |
|---|---|
| To: | pgsql-interfaces(at)postgresql(dot)org |
| Subject: | JDBC connection by crontab |
| Date: | 2001-03-29 07:48:34 |
| Message-ID: | 3AC2E8D2.8B4EA35C@fancy.ocn.ne.jp |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jeff Duffy | 2001-03-29 12:14:07 | Possible bug in DBD::Pg 0.95 |
| Previous Message | Tom Lane | 2001-03-28 22:42:37 | Re: can't start pgaccess |