Is there a command to get only the most recent jobs inside python webservice script