createAutomaticTask works