running psql in a cron job

Поиск
Список
Период
Сортировка
От Wei Weng
Тема running psql in a cron job
Дата
Msg-id 1028731885.30770.2.camel@Monet
обсуждение исходный текст
Ответы Re: running psql in a cron job  (Wei Weng <wweng@kencast.com>)
Список pgsql-sql
My database has "local all password" as its HBA control.

Is there anyway to manipulate psql so that I can somehow put the
password also inside the command line so that I can run psql in a cron
job? (such as psql -c "VACUUM ANALYZE" -d my_data -U my_user)

Thanks

-- 
Wei Weng
Network Software Engineer
KenCast Inc.




В списке pgsql-sql по дате отправления:

Предыдущее
От: Jeff Eckermann
Дата:
Сообщение: Re: control reaches end of trigger procedure without RETURN
Следующее
От: Wei Weng
Дата:
Сообщение: Re: running psql in a cron job