Is it possible to schedule a .net core console application to run every day at a specific time using the Task Scheduler?
Create a Task using Task SchedulerIn General tab, provide task name and description. In Trigger tab, create new and provide task schedule date, time, and day. In Actions tab, click New and give Action step and Browse console application executable file and click OK. Right click on created task and Run.
I think you will have to set the value for "Start in" while creating the task in task scheduler to your app folder, that is D:\Test\Test1. The app will run in this folder and should be able to find the appsettings file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With