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


Execute and check status pf windows scheduled task

Posted on 2012-09-14
Medium Priority
Last Modified: 2012-10-03
I have set up a windows task via task scheduler

Is there a way to execute and check status the status of this task in an asp.net page?
Question by:johnnyg123
1 Comment
LVL 84

Accepted Solution

David Johnson, CD, MVP earned 2000 total points
ID: 38401270
bit of a kluge

copy taskrunning.jpg \inetpub\myweb\graphics\task.jpg /y
whatever your task needs to run
if errorlevel 0 goto ok
copy taskfailed.jpg \inetpub\myweb\graphics\task.jpg /y
goto end
copy taskcompleted.jpg \inetpub\myweb\graphics\task.jpg /y

Open in new window


Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
In an ASP.NET application, I faced some technical problems. In this article, I list them out and show the solutions that I found.  I hope it will be useful. Problem: After closing a pop-up window, the parent page should be refreshed automaticall…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…
Suggested Courses
Course of the Month19 days, 21 hours left to enroll

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question