#887: SimFactory problems when running from cron -------------------------+-------------------------------------------------- Reporter: hinder | Owner: eschnett Type: defect | Status: new Priority: minor | Milestone: Component: SimFactory | Version: Resolution: | Keywords: -------------------------+--------------------------------------------------
Comment (by eschnett):
"sim --remote X ..." usually loads a different than "sim login X; ...". I tend to add code to the "envsetup" MDB entry to correct for this.
One has to be careful to not just source /etc/profile, since this may overwrite people's setting in their ~/.profile.
In your case, I would decide on a case-by-case basis whether to modify envsetup, or whether to source /etc/profile from the cron job.