SoftTree Technologies SoftTree Technologies
Technical Support Forums
RegisterSearchFAQMemberlistUsergroupsLog in
C#, parameters

 
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite View previous topic
View next topic
C#, parameters
Author Message
Mike



Joined: 27 Feb 2002
Posts: 21

Post C#, parameters Reply with quote

What is the best way to schedule a series of C# executables,
which have a series of parameters that are updated daily into
a MS-SQL Db table?

Basically I want to set up some tasks which run sequentially and
all the parameters for the tasks are stored in a process table.

Will 24x7 do this? I was thinking of writing a Java program which
used the Process class to execute this...but I figured if 24x7 did this
then why waste my time.

Thanks
mike

Sun Apr 23, 2006 10:45 pm View user's profile Send private message
SysOp
Site Admin


Joined: 26 Nov 2006
Posts: 7970

Post Re: C#, parameters Reply with quote

How about creating and scheduling a "bcp out" command saving results of a query into a batch file and then linking the job that runs the bcp on completion execute the created batch file.

For example, if your paramets table mytable has columns prog_name, col_a, col_b, col_c the bcp out command may look like
bcp "select 'prog_name ' + col_a + ' ' + col_b + ' ' + col_c' from mytable" queryout c:\jobs\mybatch.bat -T -c

For more info see
http://msdn2.microsoft.com/en-us/library/ms162802.aspx

: What is the best way to schedule a series of C# executables,
: which have a series of parameters that are updated daily into
: a MS-SQL Db table?

: Basically I want to set up some tasks which run sequentially and
: all the parameters for the tasks are stored in a process table.

: Will 24x7 do this? I was thinking of writing a Java program which
: used the Process class to execute this...but I figured if 24x7 did this
: then why waste my time.

: Thanks
: mike

Sun Apr 23, 2006 10:59 pm View user's profile Send private message
Display posts from previous:    
Reply to topic    SoftTree Technologies Forum Index » 24x7 Scheduler, Event Server, Automation Suite All times are GMT - 4 Hours
Page 1 of 1

 
Jump to: 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

 

Powered by phpBB © 2001, 2005 phpBB Group
Design by Freestyle XL / Flowers Online.