Auto delete options
Posted 08 June 2006 - 09:10 AM
Triggers or procedures can solve this? In mysql or pgsql or another database is such thing exists?
Thank you for your time.
Posted 09 June 2006 - 06:08 AM
Posted 09 June 2006 - 07:17 AM
The "old school" way is to use a CRON job; but MySQL 5.1 supposedly has an event scheduler which will allow you to do just this without an external program (though I've never actually used it). In principle, you could add a trigger to run, but that's too much extra work for every single statement.
I have the same problem with my website.
How does this CRON job work and where do I get it.
Posted 09 June 2006 - 07:52 AM
And also what if i implement in my code such an execution. At every time my page will be called that function will be executed. But I think it's better if I implement it as a scheduled task.
Posted 10 June 2006 - 08:17 AM
Do you know if there is such an option like a scheduled task in postgresql
I have no idea... never used it.
Posted 10 June 2006 - 09:49 AM
Donations gratefully received
|baaGrid| easy data tables - and more
|baaChart| easy line, column and pie charts
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users