Execute and check status pf windows scheduled task

Posted on 2012-09-14
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 page?
Question by:johnnyg123
    1 Comment
    LVL 77

    Accepted Solution

    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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Introduction This article shows how to use the open source plupload control to upload multiple images. The images are resized on the client side before uploading and the upload is done in chunks. Background I had to provide a way for user…
    International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now