Clovertech
› Clovertech Forums › Read Only Archives › Cloverleaf › Tcl Library › Running Cloverleaf Utilities from a Perl Script
I am writing a Perl script to automate some of the maintenance we do on a regular basis. I
Sr. Integration Analyst Houston Methodist
We are using perl to stop and start threads. Here is what we are doing.
$siteName = “your_site_name”;
eval `/qvdx/cis5.8/integrator/sbin/hcisetenv -root perl /qvdx/cis5.8/integrator $siteName`;
#print `showroot`;
#print $ENV{HCIROOT};
#print $ENV{HCISITE};
#This will stop the thread
`hcicmd -p p8 -c “your_thread_name pstop”`;
#This will start the thread
`hcicmd -p p8 -c “your_thread_name pstart”`;
Thanks Matthew…your solution is working.