Scheduling an Event to run

Discussion in 'ASP.NET / ASP.NET Core' started by Bruce, May 29, 2003.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Bruce

    Bruce DiscountASP.NET Staff

    Thank you brian for your suggestion.

    This feature will be included in the future release of the control panel.


    quote:Originally posted by bdwest

    I want to schedule events to run automatically. For example at a specific time I want to trigger a database update from another online source. Now the user has to press a button. This only has to be done once a day by the first user to access the page but it still seems kind of dumb. I posted this same question a couple of months ago and this was not possible. I was hoping with all the great improvements to discountasp.net this feature had been added.

    Thanks

    Brian Westfall

    </blockquote id="quote"></font id="quote">
     
  2. I want to schedule events to run automatically. For example at a specific time I want to trigger a database update from another online source. Now the user has to press a button. This only has to be done once a day by the first user to access the page but it still seems kind of dumb. I posted this same question a couple of months ago and this was not possible. I was hoping with all the great improvements to discountasp.net this feature had been added.

    Thanks

    Brian Westfall
     
  3. One thing you could try is a date comparison and then register updates in an XML file.

    Whenever somebody visits your site compare your last update time with the current time and decide if the database should be updated.

    ScHiZo
    -------------------------------
    "Hi Bob". "Who's Bob?".[?]
     
  4. Thanks for suggestion. I will have to look at the XML option closer.

    What I am currently doing is the following. I have created an .aspx page that takes parameters in the URL. Depending on what parameter are passed various actions are taken on the web server. Using one aspx page I can trigger whatever I want. The trick to making this work is using the windows 2000 scheduler to open IE with the proper URL and parameters. I have a machine that is always on so it works pretty well.

    Thanks for your response.

    Brian


    quote:Originally posted by prankernet0

    One thing you could try is a date comparison and then register updates in an XML file.

    Whenever somebody visits your site compare your last update time with the current time and decide if the database should be updated.

    ScHiZo
    -------------------------------
    "Hi Bob". "Who's Bob?".[?]
    </blockquote id="quote"></font id="quote">
     
  5. When the scheduler goes live will I be able to set it up do do something like run a WebService once every 15 minutes?

    I have a Webservice that gets attachments from a POP mail account and saves them in a directory on the server. I would like this to be scheduled to run at an interval instead of on the Page Load.

    Thanks for any info !
    David
     
  6. David,

    Anything you can execute from a URL or command line you should be able to use the MS Windows Scheduler for. However, I did discover a problem with the MS Windows scheduler. It took me several days to finally realize what the problem was so this may save you some time.

    I was running IE with a certain URL at specified times. The Scheduler would run my command fine as long as IE was not already open to the requested URL. I found I could not get IE to close automatically. If IE was open to the requested page at the next scheduled time of execution, the command would not execute. If I closed it manually it would run fine at the next scheduled time. I found a good substitute for about $30 from http://www.splinterware.com/ called Windows Scheduler (not the MicroSoft version). It will close IE after a certain delay and has worked flawlessly since I switiched. I highly recommend it. It runs various tasks on our web site automatically 20 times a day or so and has not given us a single problem.

    Let me know if you have any more questions.

    I hope this helps

    Brian


    quote:Originally posted by David4FSU

    When the scheduler goes live will I be able to set it up do do something like run a WebService once every 15 minutes?

    I have a Webservice that gets attachments from a POP mail account and saves them in a directory on the server. I would like this to be scheduled to run at an interval instead of on the Page Load.

    Thanks for any info !
    David
    </blockquote id="quote"></font id="quote">
     
  7. Thanks for the heads up, I think I will try to set it up to schedule from here locally to open up my Web Service Page page. In the earlier post you mentioned that this will be a server side feature available in the control panel. Is this still planned? If so, any timeframe?

    Thanks,
    David
     
  8. I would also very much like to have this feature available in the Control Panel.

    For my application for in my surfing web site, I need to pull buoy and weather information on an hourly basis, and update the page. Right now, I am doing a "lazy" update where the first person arrives during the hour will trigger an update, but that means that that person must wait for quite a while for the algorithms to run before page is presented. Kind of a hassle, and there are many ways around it but the best one is for the web server to do the job every hour by itself.



    Manabu Tokunaga , Half Moon Bay, California
    +1 415.309.45?9 [email protected]
    [email protected]
    Visit: http://www.culturewave.net/surfing
     
  9. Bruce

    Bruce DiscountASP.NET Staff

    WE should have a scheduler feature sometime in the next quarter.

    Thanks

    quote:Originally posted by manabu

    I would also very much like to have this feature available in the Control Panel.

    For my application for in my surfing web site, I need to pull buoy and weather information on an hourly basis, and update the page. Right now, I am doing a "lazy" update where the first person arrives during the hour will trigger an update, but that means that that person must wait for quite a while for the algorithms to run before page is presented. Kind of a hassle, and there are many ways around it but the best one is for the web server to do the job every hour by itself.



    Manabu Tokunaga , Half Moon Bay, California
    +1 415.309.45?9 [email protected]
    [email protected]
    Visit: http://www.culturewave.net/surfing

    </blockquote id="quote"></font id="quote">
     
  10. I understand the proposed scheduling feature will be a minimum of 15 minute intervals and free addon. (Sounds great)

    I would like to give feedback to say I would be happy to pay extra for 5 minute or even 1 minute intervals.

    Also for others with a need now, that would be happy with 1 hour intervals check out http://www.cron24.de/en/
     
  11. RE: WE should have a scheduler feature sometime in the next quarter.

    Does anyone have any updates on when the scheduler feature will be availiable at discountasp.net?
     
  12. Bruce

    Bruce DiscountASP.NET Staff

    The feature is in testing stage now.

    We should be beta launching this in the next 30 days
    quote:Originally posted by jamiep


    RE: WE should have a scheduler feature sometime in the next quarter.

    Does anyone have any updates on when the scheduler feature will be availiable at discountasp.net?

    </blockquote id="quote"></font id="quote">
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page