create a screenshot every x minute