Set home directory in cron.