set env to whenever scheduler