473,385 Members | 1,693 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Equivalent to DBMS_JOB

Oracle has a kind of cron built-in called DBMS_JOB. You can use
it to run SQL or stored procedures at certain times of day, etc.

Does postgreSQL offer anything similar? And please don't
say use cron. Cron has issues that I'd like to avoid.

Just curious, nothing more. It would be helpful but it's not
worth a flamefest over cron versus a built-in.

Thanks in advance.
Nov 12 '05 #1
5 3847
Arturo Pérez writes:
Does postgreSQL offer anything similar?
No, we tell people to use cron.
And please don't say use cron. Cron has issues that I'd like to avoid.


Too bad.

--
Peter Eisentraut pe*****@gmx.net
---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to ma*******@postgresql.org)

Nov 12 '05 #2
Arturo Pérez <fr**@noplace.org> wrote:
Oracle has a kind of cron built-in called DBMS_JOB. You can use it
to run SQL or stored procedures at certain times of day, etc.

Does postgreSQL offer anything similar? And please don't say use
cron.
Why not?
Cron has issues that I'd like to avoid.


What issues are those? Please be specific.

Cheers,
David.
--
David Fetter da***@fetter.org http://fetter.org/
phone: +1 510 893 6100 cell: +1 415 235 3778

The laissez-faire argument relies on the same tacit appeal to
perfection as does communism.
George Soros
Nov 12 '05 #3
On Sun, Nov 30, 2003 at 12:19:34AM -0500, Arturo Pérez wrote:
Does postgreSQL offer anything similar? And please don't
say use cron. Cron has issues that I'd like to avoid.


Huh, just curious: what issues does cron have?

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"Saca el libro que tu religión considere como el indicado para encontrar la
oración que traiga paz a tu alma. Luego rebootea el computador
y ve si funciona" (Carlos Duclós)

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #4
Martha Stewart called it a Good Thing when al******@dcc.uchile.cl (Alvaro Herrera) wrote:
On Sun, Nov 30, 2003 at 12:19:34AM -0500, Arturo Pérez wrote:
Does postgreSQL offer anything similar? And please don't
say use cron. Cron has issues that I'd like to avoid.


Huh, just curious: what issues does cron have?


It does have the demerit that it isn't terribly "transactional." And
the tools for managing jobs are likewise not much transactional.
--
let name="cbbrowne" and tld="ntlug.org" in name ^ "@" ^ tld;;
http://www.ntlug.org/~cbbrowne/spiritual.html
Rules of the Evil Overlord #35. "I will not grow a goatee. In the old
days they made you look diabolic. Now they just make you look like a
disaffected member of Generation X." <http://www.eviloverlord.com/>
Nov 12 '05 #5
Hi,

Christopher Browne schrieb:
[...]
It does have the demerit that it isn't terribly "transactional." And
the tools for managing jobs are likewise not much transactional.


Are they not? May bit its not perfect with many concurrent
changes in a short period of time but in "normal" usage
its transactional enough. You can write a little script
with a non restricted language to access postgres
users cron tab from within SQL if you like. Should not
be so hard and an easy way to contribute :-)

Regards
Tino Wildenhain
---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postgresql.org

Nov 12 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

14
by: John | last post by:
Is there an equivalent of COM on Linux that I can get through Python. My need is to have some sort of language independent component framework. I can think of CORBA but I have to have a server...
2
by: Michael Foord | last post by:
Please pardon my ignorance on this one - but I'm not certain how the sign bt is treated in python bitwise operators. I've trying to convert a javascript DES encryption routine into python. ...
1
by: Sporge | last post by:
Hi All Is there any way to decrease the polling interval that Oracle uses to determine if there are jobs pending in the job queue. It appears that it takes up to 5 seconds for a job to be...
3
by: Robert Dodier | last post by:
Hello, Here's a thought that I'm sure has already occurred to someone else, I just can't find any record of it yet. An XML document is just a more verbose and clumsy representation of an...
3
by: Prakash | last post by:
hi: I am writting a stored procedure to purge one of our transaction tables. I would like to run this SP periodically, say everyday at 4 am. I am wondering how can I achieve this without...
7
by: Tim Conner | last post by:
Hi, I am an ex-delphi programmer, and I having a real hard time with the following simple code (example ): Which is the equivalent to the following code ? var chars : PChar; sBack, s :...
10
by: karch | last post by:
How would this C# contruct be represented in C++/CLI? Or is it even possible? PolicyLevel level = (enumerator->Current) as PolicyLevel; Thanks, Karch
9
by: Alan Silver | last post by:
Hello, I'm converting some old VB6 code to use with ASP.NET and have come unstuck with the Asc() function. This was used in the old VB6 code to convert a character to its ASCII numeric...
14
by: grid | last post by:
Hi, I have a certain situation where a particular piece of code works on a particular compiler but fails on another proprietary compiler.It seems to have been fixed but I just want to confirm if...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.