Running Tasks on Windows IOT

198 Views Asked by At

i want to schedule a task on Windows IOT. With this task i want to execute a bat file.

I have already tested my batch file directly and it is working without any issue. Furthermore all the path entries in the script are complete so that i can assure it is proper executing from any directory. Additionally the batch file is also translated to ANSI.

When i start my task manually from the console i get the following response:

ActivityId:{B575CA4C-A160-4A8A-BDCD-596D20CB63B7}, InstanceId:"B575CA4C-A160-4A8A-BDCD-596D20CB63B7", Message:Failed to format message, OpCode:0, RelatedActivityId:{00000000-0000-0000-0000-000000000000}, UserContext:"Administrator",

OpCode 0 means in my opinion "Success". However the script is not executed at all.

Does anyone of has a clue regarding the message "Failed to format message"? Or has any other hints where to look?

Thanks, Florian

My Batchfile is just one line: U:\dotnet\dotnet U:\script\ShortSuperStar.dll > U:\script\log.txt

0

There are 0 best solutions below