make crontasks run correctly