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 derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trigger insert/update when date changes

Status
Not open for further replies.

JJJ777

Programmer
Joined
Jun 5, 2002
Messages
33
Location
MY
hi guys....

How can i trigger a function base on date changes on server.

examples:

i have 2 tables A and B :

so everyday day when the date change data will copy form table
A and insert it on Table B.

Besides set to run the file on crontab, how can i do it on postgresql ..In other words how to set the date in my table auto update when the server date changes.

tq in advance
 
personaly I do this type of job with crontab

there are two projects, that I know, which aim to do this functionality, but the one - didn't released any files and the other which I don't know if it is mainteined
I havn't tried any of them (just crontab :-))
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top