1

I need to execute update querys routinely over a Postgres table. Is it possible to program an automatic execution of the query, let's say, every day at 15:00 hs? The Postgres version is 9.5, I'm working on Windows 7.

1
2

There is no task scheduling functionality built into PostgreSQL.

You can use an extension like pg_cron, but I don't know how easy it is to build that on Windows.

The simplest way would probably to use the Windows task scheduler to start your job regularly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.