473,386 Members | 1,842 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Execution of C#, .NET in Batch under Windows

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?
Nov 18 '05 #1
1 1485
Hi,

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

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"news" <sa***@logicians.com> wrote in message
news:FU*********************@news-text.cableinet.net...
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?

Nov 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Boris Nikolaevich | last post by:
This is backwards of what I usually want--normally if you have a long-running ASP script, it's a good idea to check to see whether the client is still connected so you can cancel execution. ...
3
by: Will Atkinson | last post by:
Hi All, I'm a relative newbie to SQL Server, so please forgive me if this is a daft question... When I set "Show Execution Plan" on in Query Analyzer, and execute a (fairly complex) sproc, I...
2
by: den 2005 | last post by:
Hi Everybody, Is anybody knows how to Hide Execution of batch file at background? I mean without displaying the DOS Prompt window while batch file is being executed. I used code below to execute...
6
by: Charles Neitzel | last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual C# 2005 Express) that is nothing more than a simple UI with buttons on it. The buttons do various things like running...
1
by: Charles | last post by:
I'm trying to write a windows application in C# (Using Microsoft Visual C# 2005 Express) that is nothing more than a simple UI with buttons on it. The buttons do various things like running...
3
by: KRK | last post by:
I am having one batch file and using this I can start my Server. It will execute all exes while starting. Now my question is how to debug my exe using this batch file?? Is it possible to execute this...
3
by: hughie | last post by:
Has anyone done this? A windows webserver has a share on the same computer that contains some dos batch files. I'm trying to write a php page that will execute them. After much thrashing around...
2
by: psbasha | last post by:
Hi, I have created a Executable ( Exe) of an Python application using Py2Exe.I have implemented for Batch or Interactive application run in the source code.But I able run the interactive...
2
by: abhaybhat | last post by:
I run a batch file, which is nothing but a make file of my project. It also does linting for me. Hence the execution of the batch file in the DOS window can be seen, which is very huge(i have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.