Click here to Skip to main content
15,941,828 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,
On my server, it only supports the batch script or the vbscript for scheduling purposes & I have a .aspx page in project that I want to schedule per day at a specific time. So I want to make a vbscript or batch script. I don't have any idea about that. So please give me a full idea how to schedule task on that server.
Thanks in advance.

1 solution

An aspx page cannot be "scheduled". It is code that executes when a user requests it. If you want to schedule some of the functionality of your page, the easiest is to write an executable that duplicates it's functionality.
Note that this is a case of bad design: if you knew your code would have to be scheduled, you should have written it as a program or a service in the first place, and have your asp stuff call upon the program or service.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900