cap db tasks