set environment in cronfile