Re: Task Scheduler with Same EXE (daing)

Tech-Archive recommends: Fix windows errors by optimizing your registry



On 12/18/2007 5:57 PM On a whim, AGP pounded out on the keyboard

Thanks for the tips guys. But the hitch isn that I need the GUI open
so that I can see what data was processed. This works just fine if I create
several different items, say one for each day. I get an instance of an application
per task. But that beats the automation since I would have to constantly revise it.
Ive also tried a batch file but that stays open until the GUI is closed,
which again I need displayed so that I can see what data was processed.

AGP



"Elmo" <elmogeek@xxxxxxxxxxxxx> wrote in message news:%23mXOj6dQIHA.5016@xxxxxxxxxxxxxxxxxxxxxxx
AGP wrote:
My issue is fairly simple. I have a built an executable that runs a process. it does not accept any command line switches, it just runs a process every day at 2am. Well I built this into the task Scheduler to run every day at 2am. However I may be gone for several days and when I come back only the first task has been run and I can see the GUI is displayed on my desktop. Not until I close the GUI does the scheduler run the next schedule. How can I make it so that the same EXE gets run at 2am regardless if I close out the GUI or not. I just cant figure it out.

In the end what i need is if i am on vacation and gone for a week that the scheduler runs every day at 2am the same EXE and there will be 5 instances of my app displaying on the desktop.

AGP
If you ran the program from a batch file, you could possibly set it to close from there.. I don't know the details on how that'd be done though.

--
Joe =o)



The issue isn't with the scheduler, it's with your program. It can't run multiple instances. Can you pipe the output to a text file (say with the current days date) and then have it close?

--
Terry R.

***Reply Note***
Anti-spam measures are included in my email address.
Delete NOSPAM from the email address after clicking Reply.
.



Relevant Pages

  • Re: Task Scheduler with Same EXE (daing)
    ... Ive also tried a batch file but that stays open until the GUI is closed, ... Not until I close the GUI does the scheduler run ... How can I make it so that the same EXE gets run at 2am ... instances of my app displaying on the desktop. ...
    (microsoft.public.windowsxp.general)
  • Re: Daily backup fails to run after first day
    ... because the scheduled job runs once but fails the ... Prompt as under the Task Scheduler? ... There's no need to run batch file. ... >> examine the two log files each time. ...
    (microsoft.public.windows.server.general)
  • Re: task scheduler
    ... When I sent you a copy of the batch file i might have ... @echo offrem SCT Payment Client Startup for Banner Webrem AUDIT TRAIL: ... rem SCT Payment Client Startup for Banner Webrem AUDIT TRAIL: ... Task that run under the Task Scheduler are designed ...
    (microsoft.public.windowsxp.general)
  • Re: Task Scheduler Fails, But Not All the Time
    ... into the batch file below, ... echo %date% %time% Start of task> c:\test.log ... Now examine the two log files. ... In most Task Scheduler posts the ...
    (microsoft.public.windowsxp.general)
  • Re: Cant schedule a batch file to run in the XP Pro Scheduler
    ... If your backup program called in the BAT file is ... > does NOT run fine is when I try to call the backup.bat batch file ... Why doesn't the XP task scheduler handle batch files? ... > I want to automate the backup of our Retail Management Software ...
    (microsoft.public.windowsxp.perform_maintain)