pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: NSB)Hiroshi Kasamatsu <hkasa@fancy.ocn.ne.jp>
To: pgsql-interfaces@postgresql.org
Subject: JDBC connection by crontab
Date: Thu, 29 Mar 2001 16:48:34 +0900
Message-ID: <3AC2E8D2.8B4EA35C@fancy.ocn.ne.jp> (raw)

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





Message-ID: <3AC2E8D2.8B4EA35C@fancy.ocn.ne.jp>
Permalink:  ../3AC2E8D2.8B4EA35C@fancy.ocn.ne.jp/
Also on:    postgresql.org/message-id/3AC2E8D2.8B4EA35C@fancy.ocn.ne.jp

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: hkasa@fancy.ocn.ne.jp
  Subject: Re: JDBC connection by crontab
  In-Reply-To: <3AC2E8D2.8B4EA35C@fancy.ocn.ne.jp>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox