Re: proposal: contrib module - generic command scheduler - Mailing list pgsql-hackers

From hubert depesz lubaczewski
Subject Re: proposal: contrib module - generic command scheduler
Date
Msg-id 20150512092724.GB14871@depesz.com
Whole thread Raw
In response to proposal: contrib module - generic command scheduler  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal: contrib module - generic command scheduler  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On Tue, May 12, 2015 at 09:25:50AM +0200, Pavel Stehule wrote:
> create type scheduled_time as (second int[], minute int[], hour int[], dow
> int[], month int[]);
>  (,"{1,10,20,30,40,50}",,,) .. run every 10 minutes.
>  (,"{5}",,,) .. run once per hour
> Comments, notices?

First, please note that I'm definitely not a hacker, just a user.

One comment that I'd like to make, is that since we're at planning
phase, I think it would be great to add capability to limit number of
executions of given command.
This would allow running things like "at" in unix - run once, at given
time, and that's it.

Best regards,

depesz

-- 
The best thing about modern society is how easy it is to avoid contact with it.
                  http://depesz.com/
 



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: contrib module - generic command scheduler
Next
From: Magnus Hagander
Date:
Subject: Re: "Bugs" CF?