Forums

This topic is locked

Auto Delete outdated records

Posted 24 Sep 2001 05:40:12
1
has voted
24 Sep 2001 05:40:12 Ahmad Fariz Hanapiah posted:
Is there anyway we can do that?

Replies

Replied 24 Sep 2001 10:48:17
24 Sep 2001 10:48:17 Joel Martinez replied:
<pre id=code><font face=courier size=2 id=code>&lt;assuming you're using NT&gt;</font id=code></pre id=code>The only way to truly do that, would be to use the windows scheduled task functionality.
Just write the code, that you would run to delete the old records, then save that code as a .vbs file.
Add that as a scheduled task, and the windows scripting host will take care of it for you.<pre id=code><font face=courier size=2 id=code>&lt;/assuming you're using NT&gt;</font id=code></pre id=code>Of course, if you're in a shared hosting evironment, you won't be able to do that (unless you're blessed with a great ISP). so you'll have to just run the script manually.

Joel Martinez [ ]
----------
E-Commerce Concepts with Ultradev...pre-order yours at
www.basic-ultradev.com/ecomm_concepts/

Reply to this topic