Solved task in task scheduler test running never completes?

sdowney717

New member
Power User
VIP
Local time
9:58 AM
Messages
705
I created a batch file. it works fine, opens command prompt runs the task, then it exits.
I set the task up in task scheduler. There is a run button, when run it goes from ready to running and never stops... I can select end. The task simply takes 7 seconds when I run it as clicking on the batch file.
So I dont think I have it configured correctly?

here is the batch file
Code:
   [MENTION=353699]echo[/MENTION] OFF
ECHO.
ECHO This is a batch file
ECHO.

zap2xml -u [email][email protected][/email] -p thepassword -o myfile.xml


CLS
EXIT

included some pics, you can see it has never run, when I select run, it never completes, simply says running forever?
 

Attachments

  • tsk2.PNG
    tsk2.PNG
    154.1 KB · Views: 1
  • tsk1.PNG
    tsk1.PNG
    154.9 KB · Views: 1

My Computer

OS
Windows 7 Ultimate x64
I changed to only run when user is logged on.
I changed permissions on the file to everyone full control.
I get a different response, a flash of a command prompt, then it says runnning forever it says running till I end it.
Get error on description line of 0x2331

task scheduler is only for nerds with special knowledge that have insider information!

Is there an alternative downloadable program I can use to schedule this task? this is just too hard!

This one actually works, but only once per day, cant run say every 6 hours. BUT it works.
Freebyte Task Scheduler

I actually SOLVED this in win7, which should be same as win 10.
Even though this setting 'start in' says 'optional', you MUST entire the directory, cant leave it blank.
It runs everytime now I test run this.
 

Attachments

  • zap3Capture.PNG
    zap3Capture.PNG
    45.9 KB · Views: 0
Last edited:

My Computer

OS
Windows 7 Ultimate x64
If you want it to run whenever anyone is logged on, unselect the password, and you have to change the file permission to give everyone full control for the batch file.
 

My Computer

OS
Windows 7 Ultimate x64
Back
Top