We help IT Professionals succeed at work.

How do I run a .aspx page automatically?

Medium Priority
2,044 Views
Last Modified: 2013-11-08
I need to run a .aspx page after certain time interval, just like what CRON do in Linux server. Can any one suggest me how should I proceed? If any one provides me some example code that would be helpful for me.
Comment
Watch Question

Kyle AbrahamsSenior .Net Developer
CERTIFIED EXPERT

Commented:
How are you "running" it?  (IE just hitting a webpage or what?)

Author

Commented:
I need to run it automatically from the system, not manually hitting the URL in browser
Kyle AbrahamsSenior .Net Developer
CERTIFIED EXPERT

Commented:
understood, but what does running the page mean to you?  Are you submitting a form?  Are you just hitting a page?  (EG: create a scheduled task that opens up internet explorer and goes to that page?)

etc.
Software / Database Developer
CERTIFIED EXPERT
Commented:

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Praveen DMInfra Team Lead
CERTIFIED EXPERT
Top Expert 2008

Commented:
If the page is scheduled to run automatically It will get browsed in IE inside u r server... As ASPX page opens or exucuted in browser only.... so if you can be a bit more clear u can get to the solution...

Does the site needs to be browsed automatically and nothing else... that too u need to understand that once the schedule is done...the page will open in a browser and the next schudule will also opne the page afresh...so the old one has to be closed from browser...

clarity needed.. ;-)
Praveen DMInfra Team Lead
CERTIFIED EXPERT
Top Expert 2008

Commented:
Download  Wget
http://gnuwin32.sourceforge.net/packages/wget.htm

And add this line in schedule jobs..Run Area and schedule to run it as per your time durations...

wget 'http://domain.com/file.aspx'
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.