Phil for Humanity

A Guide for the Survival of Humankind, and Improving the World, Society, and Yourself!


Popular Articles
  • Reasons For and Against
    Human Cloning
  • Globalization of the USA
  • The Pros and Cons of
    Capital Punishment
  • World's Stupidest Game

  • Latest Articles

  • Working at Big Companies
  • Companies are Taking Over the World
  • Hyper-Critical
  • Nuclear Power Plants
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (35)
  • HELP THE WORLD (84)
  • IMPROVE GOVERNMENTS (69)
  • PERSONAL DEVELOPMENT (177)
  • COMPUTER HELP (37)
  • ARCHIVE (all articles)
  • CONTACT US
  • DISCLAIMER
  • PLEASE HELP: DONATE

  • ClearCase Support: Finding ClearCase Triggers


    If you need to find the list of ClearCase triggers installed in a single VOB, then run this command. You can also use this same command to find the location of each trigger's scripts and the configuration of each trigger too.

    cleartool lstype -long -kind trtype -invob VOB_NAME


    For instance, here is an example of this command and the command's output. This command may take a long time to execute, especially if you have a large VOB or if there are a lot of triggers installed in the VOB.
    
     $ cleartool lstype -long -kind trtype -invob /vob/test
     trigger type "checkin_permission_trigger"
      14-Apr-99.14:22:22 by root (root@machine_name)
       owner: root
       group: group
       all element trigger 
       pre-operation checkin
       action: -exec \\windows_machine\path\script.bat || /path/script.pl
     trigger type "stop_rmelem_trigger"
      24-Jun-04.13:03:03 by root (root@machine_name)
       owner: root
       group: group
       all element trigger 
       pre-operation rmelem
       action: -execunix /usr/local/bin/perl /path/script2.pl
       action: -execwin  \\windows_machine\path\perl.exe \\windows_machine\path\script2.pl
     

    If you have any other ClearCase questions, please do not hestitate to contact me for free advice.

    by Phil B.

    Related Articles
     » ClearCase Support: Installing and Implementing ClearCase Triggers
     » ClearCase Support: Finding ClearCase Log and Cache Files
     » ClearCase Support: Check In and Label at the Same Time







    Copyright © 2006-2008, Phil for Humanity. All Rights Reserved.