Script runs once a day automatically

Results 1 to 4 of 4

Thread: Script runs once a day automatically

  1. #1
    SQL Guest

    Default Script runs once a day automatically

    How can I get an asp script to run once a day automatically?<BR>

  2. #2
    Ben Timby Guest

    Default RE: Script runs once a day automatically

    Easiest way I know is to put this in your task scheduler:<BR><BR>iexplore.exe http://yoursite.com/yourscript.asp<BR><BR>and set it to run daily

  3. #3
    Ben Timby Guest

    Default RE: Script runs once a day automatically

    Revise my last post, you cannot put that into the task scheduler, so put this in there:<BR>start.bat<BR><BR>&#060;contents of start.bat&#062;<BR>iexplore http://yoursite.net/yourscript.asp<BR>&#060;EOF&#062;<BR><BR>of course, put in the correct pathnames, and if you are not lucky enought that you can put this on the server, or you don&#039t have a ded. connection (I have both:-) then make sure your auto-dial settings in the internet properties (control panel) are setup properly, and your password is saved. That should work, I tried it just a minute ago, in addition, you might make the sceduler point to start.lnk (windows shortcut) and make that a shortcut to start.bat, and make it close window when complete, so you don&#039t have a bunch of dos windows hanging around.

  4. #4
    ICornish Guest

    Default RE: Script runs once a day automatically

    If its VBScript, then you can use WSH &#060;Script name&#062;, and put that in Task Scheduler/AT.


Posting Permissions

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