hook_enable()
Perform necessary actions after module is enabled.
The hook is called everytime module is enabled.
modules/system/system.api.php, line 2334
<?php function hook_enable() { mymodule_cache_rebuild(); } ?>
Some quick links to get you started