pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
How to schedule running of a script?
3+ messages / 3 participants
[nested] [flat]

* How to schedule running of a script?
@ 2022-01-19 05:10  Shaozhong SHI <shishaozhong@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Shaozhong SHI @ 2022-01-19 05:10 UTC (permalink / raw)
  To: pgsql-general <pgsql-general@lists.postgresql.org>

Can a script be scheduled to run within Postgres?

Regards,

David

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How to schedule running of a script?
@ 2022-01-19 05:20  David G. Johnston <david.g.johnston@gmail.com>
  parent: Shaozhong SHI <shishaozhong@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: David G. Johnston @ 2022-01-19 05:20 UTC (permalink / raw)
  To: Shaozhong SHI <shishaozhong@gmail.com>; +Cc: pgsql-general <pgsql-general@lists.postgresql.org>

On Tuesday, January 18, 2022, Shaozhong SHI <shishaozhong@gmail.com> wrote:

> Can a script be scheduled to run within Postgres
>

Core, no.  I think there are some extensions you could search for. e.g.,
pg_cron and pgagent IIRC.

David J.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: How to schedule running of a script?
@ 2022-01-19 09:02  hubert depesz lubaczewski <depesz@depesz.com>
  parent: Shaozhong SHI <shishaozhong@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: hubert depesz lubaczewski @ 2022-01-19 09:02 UTC (permalink / raw)
  To: Shaozhong SHI <shishaozhong@gmail.com>; +Cc: pgsql-general <pgsql-general@lists.postgresql.org>

On Wed, Jan 19, 2022 at 05:10:29AM +0000, Shaozhong SHI wrote:
> Can a script be scheduled to run within Postgres?

https://www.depesz.com/2021/01/15/how-to-run-some-tasks-without-user-intervention-at-specific-times/
https://www.depesz.com/2021/01/28/how-to-run-some-tasks-without-user-intervention-at-specific-times-...

depesz





^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2022-01-19 09:02 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-01-19 05:10 How to schedule running of a script? Shaozhong SHI <shishaozhong@gmail.com>
2022-01-19 05:20 ` David G. Johnston <david.g.johnston@gmail.com>
2022-01-19 09:02 ` hubert depesz lubaczewski <depesz@depesz.com>

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