App will not run as a scheduled task

D

donal.conlon

I have a c# console app that runs fine manually, however when i add it
as a scheduled task it does not run at all.

The application takes in args, and calls another command line app.
Even if i disable the process call, it still will not run. Am I
missing something obvious?
 
G

Guest

Must be, at least I have never had this problem. Do you want to post a "Short
But Complete" program snippet so the resident cadre of Scheduled Task Experts
can dissect it and help you out? Could it be a permissions problem perhaps?
Peter
 
O

Otis Mukinfus

Must be, at least I have never had this problem. Do you want to post a "Short
But Complete" program snippet so the resident cadre of Scheduled Task Experts
can dissect it and help you out? Could it be a permissions problem perhaps?
Peter

It may not solve your problem, but I find it better to call scheduled tasks from
a batch file. It keeps the call to the executable and command line portable and
lets you modify the command line without changing the call in the scheduler.


Otis Mukinfus
http://www.arltex.com
http://www.tomchilders.com
 
D

donal.conlon

My bad,

I was including the args inside the quotes,
i.e. "c:\...\app.exe -arg test" instead of "c:\...\app.exe" -arg test

thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top