add longterm tag to vms created through the cronjob
fix uninitialized task reference