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

  • Unknown Mushrooms 2
  • Easier Programming Language
  • Managing is Common Sense
  • Improve Cereal Packaging
  • Subscribe to RSS Feed

  • Main Menu

  • HOME
  • SAVE HUMANITY (52)
  • HELP THE WORLD (102)
  • IMPROVE GOVERNMENTS (99)
  • PERSONAL DEVELOPMENT (272)
  • COMPUTER HELP (130)
  • ARCHIVE (all articles)
  • SEARCH THIS SITE
  • 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
     


    by Phil B.

    Related Articles
     » ClearCase Support: Finding Label and Branch Types
     » ClearCase Support: Installing and Implementing ClearCase Triggers
     » ClearCase Support: How to Find Checked Out Elements







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