mardi 14 avril 2015

Windows Task Scheduler and sdf Database

I have a relatively simple C# application which grabs some data from a website and writes it into an sdf database file.


The application itself works just fine - however if i run the application as a scheduled task with the windows task scheduler it does not add anything to the database (it still shows up as running in the task manager, as intended).


So just to clarify it again: Manually starting the exe works just fine (click or command window), but starting it as a task (no matter if scheduled or manually) it runs but does not add anything to the database.


What differences are there between starting an exe manually compared to a task which has a "start program" action?


Aucun commentaire:

Enregistrer un commentaire