5
Answers

Console application identity question

Ask a question
rich

rich

14y
4.3k
1
Hi,
I have a console app that will take an argument to perform many different business process such as ftp, backup, http request...etc.
I have schedule to run those job in command prompt such as:
Master_jb.exe ftp
Master_jb.exe backup
Master_jb.exe http_get
If two jobs ran on the same time, I will see the process in the windows task manager show two master_jb.exe.
My question is that is there anyway I can identity which job ran on what parameter? Or is there anyway in C# code that I can alter the process name that show in the task manager?
 
Thanks in advance!
Rich

Answers (5)