runids commands in the database