Network Automation Software We are currently migrating this forum
over to our HelpSystems domain. Please
post all new threads in our new
HelpSystems Community Portal.
Post to the HelpSystems Forum
You are not currently logged on. You must be logged on in order to post. Log on
Or Create a new account
AutoMate Discussion
Decrease font size
Increase font size
Topic Title: Check if program on a non-Automate server is running
Topic Summary: Task Manager
Created On: 04/06/2012 07:11 AM
Status: Read Only
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
View similar topics View similar topics
View topic in raw text format. Print this topic.
 04/06/2012 07:11 AM
User is offline View Users Profile Print this message

Author Icon
flowers
Artisan (200-499)

Posts: 259
Joined: 01/08/2009

Hi,

I have a AM7 job that directs a non-Automate server to run a Crystal report and send its output to a PDF file by inserting records into a database on that server. This requires that that other server also has a PDF-printer software product to up and running. But, sometimes it stops.

Before sending a request for a crystal report to run, I would like to check that the PDF-printer software is running on the other server. If not, send me a message and stop. I am thinking that maybe I could somehow access the TaskManager on that server. Has anyone done anything like that?

Sometimes we are sending hundreds of small report requests and the ability to do this is important to us.

Thanks for looking,
Rich

 Category Survey
 04/06/2012 07:20 AM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Hi Rich,

The Get Process Information action can be executed locally or remotely and check for the PDF process. From there you can determine if the report should be executed.





 Category Survey
AutoMate 7 version:
Windows version:


-------------------------

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
 04/06/2012 07:44 AM
User is offline View Users Profile Print this message

Author Icon
flowers
Artisan (200-499)

Posts: 259
Joined: 01/08/2009

Leonard,

I just tried that at your suggestion but get this message...

Information for the process could not be obtained (Error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)))

Does the user defined in the Action need to be an admin? If not, what rights are required?

I am looking for PDFCreator.exe on that server to be in TaskManager.

Thanks,
Rich

 Category Survey
 04/06/2012 07:51 AM
User is offline View Users Profile Print this message

Author Icon
Leonard Amabile
HelpSystems

Posts: 5454
Joined: 05/15/2007

Rich,

It needs to be an admin for the workstation, either local admin or domain admin. Is PDFCreator.exe a 32bit or 64bit process? If it's a 64bit process, then Automate will not be able to see the process.





 Category Survey
AutoMate 7 version:
Windows version:


-------------------------

Leonard Amabile | Director, Cross Platform Support
AutoMate | InterMapper | Skybot | Divisions of HelpSystems
T: +1.213.738.1700 | F: +1.213.738.7665
 04/06/2012 08:02 AM
User is offline View Users Profile Print this message

Author Icon
flowers
Artisan (200-499)

Posts: 259
Joined: 01/08/2009

Leonard,

Got it working, had wrong userid

Thanks,
Rich

 Category Survey
 04/06/2012 11:51 AM
User is offline View Users Profile Print this message

Author Icon
Ricardo Castaneda
HelpSystems

Posts: 3424
Joined: 01/11/2008

Hi Rich,

Thank you for the update.

 Category Survey


-------------------------

Ricardo Castaneda | Principal Support Analyst
AutoMate | Division of HelpSystems
HelpSystems, LLC | T: +1.213.738.1700
Statistics
18258 users are registered to the AutoMate Discussion forum.
There are currently 0 users logged in.
The most users ever online was 5551 on 01/08/2018 at 11:11 AM.
There are currently 1333 guests browsing this forum, which makes a total of 1333 users using this forum.

FuseTalk Enterprise Edition v4.0 - © 1999-2020 FuseTalk Inc. All rights reserved.

Sitemap Network Automation Software Blog