pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nicolas Huillard <nhuillard@ghs.fr>
To: 'dialFree administration' <admin@dialfree.net>
To: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: RE: Scheduling Database Tasks
Date: Thu, 25 May 2000 20:24:25 +0200
Message-ID: <01BFC687.3BFD64D0@agen.int.ghs> (raw)

Relying of fine-grained time for sheduling tasks is usually a bad idea... If for some reason the previous task will take longer, you will load your server with the next one, which will take even longer, and over-load it with the following one...
You can rely on cron, and serialize your tasks, using the standard Linux /etc/cron.hourly /etc/cron.daily scheme : put your scripts in these directories, and tasks will be simply scheduled, without interfering...

Nicolas huillard

-----Message d'origine-----
De:	dialFree administration [SMTP:admin@dialfree.net]
Date:	jeudi 25 mai 2000 16:23
À:	pgsql-admin@postgresql.org
Objet:	[ADMIN] Scheduling Database Tasks

Hi there.
I am a PostgreSQL newbie recently rescued from the depths of despair (MS SQL
Server). In this state however I find my self pining for some of the
functionality I have become accustomed too. We have a number of tasks that
we like to perform using our database like sending emails to folk or billing
them or generating invoices.

MS SQL Server has a Jobs interface as part of it's database management
'suite' that allows various types of scripts (SQL, Active X) to be performed
with fine granularity (1 Second and up). Does PsotsgreSQL have any similar
functionality?

Crontab does not provide the granularity we require (3 seconds or so for
some of our tasks). We are also investigating Expect. If this functionality
is not available can it be created efficiently with any of the PL/tcl etc.
scripting/functional languages?

Thanks for your time.

-Ian

Ian Marshall
ian@talarion.com
www.talarion.com
(617) 527-1994

<< Fichier: ATT00023.html>>



view thread (3+ messages)  latest in thread

Message-ID: <01BFC687.3BFD64D0@agen.int.ghs>
Permalink:  ../01BFC687.3BFD64D0@agen.int.ghs/
Also on:    postgresql.org/message-id/01BFC687.3BFD64D0@agen.int.ghs

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: nhuillard@ghs.fr, admin@dialfree.net
  Subject: Re: Scheduling Database Tasks
  In-Reply-To: <01BFC687.3BFD64D0@agen.int.ghs>
  References: <01BFC687.3BFD64D0@agen.int.ghs>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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