Execution of C#, .NET in Batch under Windows

N

news

I have a some CPU intensive C#, .NET, MS SQL (with stored procedures) code
to run. I am using a IE to run it now but IE loses the thread after a
while - however the task does complete in the background. I want to run it
directly on server, like a BATCH job (DOS) or CRON job (UNIX).

I dont have root access to the server, but it is my own dedicated server, so
I can request Admin to run jobs, I suppose.

Is there a way to run C# code in batch, eg under a shell, and maintain all
the normal functionality of classes/methods?
 
I

Ignacio Machin \( .NET/ C# MVP \)

Hi,

You could create an scheduled job and run it as a console application.


Cheers,
 

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

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,143
Latest member
SterlingLa
Top