Execute ASP code at certain time???

Results 1 to 3 of 3

Thread: Execute ASP code at certain time???

  1. #1
    Join Date
    Dec 1969
    Posts
    46

    Default Execute ASP code at certain time???

    How do I get my ASP code to execute at a certain time during the day? I want my ASP code to delete records from a database daily at midnight or some other pre-determined time, so that the database is empty in the morning and ready to accept new data.

  2. #2
    MARLIN Guest

    Default RE: Execute ASP code at certain time???

    I THINK A SIMPLE IF THEN SHOULD DO THE JOB<BR>&#060;% varTime=Time_I_Want_to_Execute (note:put actual time here)<BR>If TIME=varTime then<BR> what every you wanT to happen code goes here<BR>End If<BR>%&#062;<BR><BR>

  3. #3
    Join Date
    Dec 1969
    Posts
    699

    Default RE: Execute ASP code at certain time???

    Configure Scheduler on your server to run a browser with the url of the page you want to execute...<BR><BR>The easier way is to create a Visual Basic program.<BR>Even easier - use SQL&#039s scheduler<BR>Best way - use SQL&#039s scheduler to run a stored procedure.<BR><BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •