Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4561878
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T18:08:13+00:00 2026-05-21T18:08:13+00:00

Hey I have a .NET .aspx page that I would like to run every

  • 0

Hey I have a .NET .aspx page that I would like to run every hour or so whats the best way to do this ?

I assume it will have to open a browser window to do so and if possible that it closes the window after.

EDIT : I have access over all features on the server

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T18:08:13+00:00Added an answer on May 21, 2026 at 6:08 pm

    Option 1: The cleanest solution would be to write a Windows application that does the work (instead of an aspx page) and schedule this application on the server using the Windows Task Scheduler. This has a few advantages over the aspx approach:

    • You can use the features of the Windows Task Scheduler (event log entries if the task could not be started, see the time of the last run, run the task in the context of a specific user, etc.).
    • You don’t need to “simulate” a web browser call.
    • Your page cannot be “accidentally” called by a web user or a search engine.
    • It’s conceptually cleaner: The main purpose of a web page is to provide information to the client, not to trigger an action on the server.

    Of course, there are drawbacks as well:

    • You have two Visual Studio projects instead of one.
    • You might need to factor common code into a shared class library. (This can also be seen as an advantage.)
    • Your system becomes more complex and, thus, potentially harder to maintain.

    Option 2: If you need to stick to an aspx page, the easiest solution is probably to call the page via a command-line web client in a scheduled task. Since Windows does not provide any built-in command-line web clients, you’d have to download one such as wget or curl. This related SO question contains the necessary command-line syntax:

    • Scheduled Tasks for ASP.NET
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey all, this is a newbie ASP.NET MVC question. I have a view that
Hey. I have this javascript file that I'm getting off the web and it
Hey guys, I have a question about asp.net I have this table with checkbox
Hey i have a simple ASP.NET application Table with this schema: id | Owner
Hey I have a gridView and I would like to extract the PhotoPath (ftppath
Hey, I have a vb.net application that I compiled and all, I took the
Hey im using JQuery UI (1.8.9) and i have 2 nested resizables like this:
I have a DOM situation that looks like this: A is an ancestor of
Hey I would like to use Nested Stored Procedures in ASP.NET 2. The first
Hey guys, I feel stupid with this one. I have one <div> that is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.