SQL query start and stop job agent