Nothing happens when I run a specific database

There are a few reasons you could see this behavior.

1.      There could be no indexes in the database or none of them have exceeded the threshold.

2.      The settings in the tables could be incorrect or missing.  While there are few columns in the settings tables that are mandatory, there are some.  ReorgThreshold, RebuildThreshold, Exclude,ReindexGroupOrder, ReindexOrder are the only columns I can think of that need to be populated.

3.      The SP was set with @RunPrepped = 1 and there are no rows in the Minion.IndexTableFrag table for that database.  This is because the PrepOnly was never run or failed.

4.      You’re running it with @StmtOnly  = 1.