Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a .bat file which should kick off every 30mins. I am using Windows scheduler for this. I have some questions on the same:

  1. Does the scheduled task starts at a scheduled time even after a system reboot?
  2. While the job runs, how can I display the progress of the status?
  3. How to show the instance that's running in system tray?
share|improve this question
up vote 0 down vote accepted
  1. If it's scheduled, it should start as per the time/interval specified, although you can set it to run ASAP if it was skipped due to any reason:


    Check out all the other tabs of the task's Properties dialog, including Conditions etc.

  2. The batch file should display a window when it's run, and you can print messages in it using the echo command or redirect echo messages to a text file. If you want to display a standard Windows message dialog, use something like NirCmd and check out how to use the infobox parameter with it here.

  3. Show instance of what running in the tray? Batch files don't run in the tray. If you're calling an app, set it so it doesn't run in the tray. To maximise an app already running in the tray, either the app needs to support some way of doing this (some apps for example maximise the running instance if you run them again), or you'd need to look into AutoIt/AutoHotKey scripting.

share|improve this answer
Thanks for your detailed explanation. I am using XP and i dont have the tabs thats there in your screenshot...I am seeing in the following location. Control Panel --> Scheduled Tasks. Is that correct? Also what happens on system reboot? – user1570824 Nov 1 '12 at 19:25
I don't quite remember what options were present in XP (screenshot is from Win7). Did you double-click the task you created to open its Properties dialog, as I mentioned? Edit: On reboot? If the task is missed and the option is selected, it will be run ASAP after logon. Otherwise it will run normally as per the schedule you have specified. Like I said, check the task's properties. Most options are quite obvious, and if not, you can always Google them for help or ask in a new thread here. – Karan Nov 1 '12 at 19:29

I think you should modify your app to LOG/REPORT status to a text file / event viewer. Then you should make a separate app that runs in the system trade that is aware of the LOG and display that information to the user

share|improve this answer
Sorry i didnt quite understood that...I am new to scheduling aspects – user1570824 Nov 1 '12 at 18:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .