[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1942
  • Last Modified:

How do I run a .aspx page automatically?

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.
0
acumensoft
Asked:
acumensoft
1 Solution
 
Kyle AbrahamsSenior .Net DeveloperCommented:
How are you "running" it?  (IE just hitting a webpage or what?)

0
 
acumensoftAuthor Commented:
I need to run it automatically from the system, not manually hitting the URL in browser
0
 
Kyle AbrahamsSenior .Net DeveloperCommented:
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.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Praveen DMInfra Team LeadCommented:
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.. ;-)
0
 
Praveen DMInfra Team LeadCommented:
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'
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now