[PostgreSql] pg_cron job schedule 등록방법


[PostgreSql] pg_cron job schedule 등록방법

/* pg_cron이 설치가 안되어 있는 경우 * https://github.com/citusdata/pg_cron 사이트에 가서 소스를 다운받아서 컴파일 설치를 한다. * git clone https://github.com/citusdata/pg_cron * cd pg_cron * postgresql이 설치된 bin 경로를 설정한다. */ 리눅스에 .bash_profile 열어서 경로 설정 LANG=ko_KR.UTF-8 PGHOME=/home/passdata/apps/postgresql-13.4 PGDATA=/home/passdata/passdata/pgdata PATH=$PGHOME/bin:$PATH:$HOME/.local/bin:$HOME/bin LD_LIBRARY_PATH=/$PGHOME/lib ..


원문링크 : [PostgreSql] pg_cron job schedule 등록방법