Share via

Device Location

Anonymous
2023-07-25T15:06:23.5966667+00:00

I written a console application to get latitude, longitude from the device convert to address and store in DB.

I scheduled as task but this is launching the exe I want the exe to run in background please suggest how the source code is here.

https://github.com/KalyanAllam/ConsoleAppgeo

Screenshot 2023-07-25 202828.jpg

Developer technologies | ASP.NET Core | Other

Answer accepted by question author

Martin Egli 545 Reputation points
2023-07-25T15:51:58.73+00:00

What do you mean by background?

You can write a service that always runs, even if no user is logged in.

https://learn.microsoft.com/en-us/dotnet/framework/windows-services/walkthrough-creating-a-windows-service-application-in-the-component-designer

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Anonymous
    2023-07-25T17:23:06.41+00:00

    I scheduled the task to stop after 1 minute it is still running even after 5 minutes , how to stop the task after 1 minute.

    Capturesnip1.JPG

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.