Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scheduled programs in postgresql

Status
Not open for further replies.
Sep 17, 2002
1
US
Hi,
Does anybody knows if it is possible to schedule a program in postgresql? I mean, I want to run the same sql (or script with some sqls), at the same time, every day.

Any clue?
Thanks
 
How about a cron job? ______________________________________________________________________
TANSTAAFL!
 
Hi monicamariahernandez,

It would depend on which OS your running. If your running Linux, take a look at "cron". You would need to have crond (e.g. the cron daemon) running in memory. If your using Linux you could do:

man cron

This would bring up the manual on cron which has a ton of options.

This should get you started. Leland F. Jackson, CPA
Software - Master (TM)
Nothing Runs Like the Fox
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top