Put this in an always active repeat command block that is connected to a comparator which is behind a repeater, which then leads to an impulse command block(coming soon). Put a version of the custom crafting table, must be dropper or dispenser, can be named, on top of the repeat command block.