Re: How to write jobs in postgresql

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: "chiranjeevi(dot)i" <chiranjeevi(dot)i(at)pyronetworks(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: How to write jobs in postgresql
Date: 2005-08-05 13:20:07
Message-ID: 20050805132007.GA97599@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

[Please copy the mailing list on replies so others can contribute
to and learn from the discussion.]

On Fri, Aug 05, 2005 at 06:28:04PM +0530, chiranjeevi.i wrote:
> I have to dump up my database into a text file(using copy) at 2 am on every
> day. And from that I have to get the database details. & please don't
> suggest me to go for CRON as it has caused so many problems in my server.

I'll suggest cron anyway because that's the usual way to schedule
commands to run at regular times on Unix-like platforms. If you're
having problems with cron then you should investigate and fix those
problems.

The pgAdmin folks have been working on a scheduler called pgAgent.
Use a search engine to find more information about it.

--
Michael Fuhr

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-08-05 13:26:37 Re: renaming a table, and its primary key constraint
Previous Message Richard Huxton 2005-08-05 13:13:22 Re: Optimizing large data loads