pmx-env - Run commands after sourcing the PureMessage user's environment.


 pmx-env ppm verify --upgrade PureMessage


PureMessage relies on several scripts running from a crontab environment. Some scripts, like ppm, require environment variables to be set as if run by the PureMessage user. The pmx-env script does this by sourcing the PureMessage user's environment settings before running the command.

 pmx-env commands arg1 arg2 arg3

pmx-env is completely transparent apart from setting up environment variables.


Copyright (C) 2000-2008 Sophos Group. All rights reserved. Sophos and PureMessage are trademarks of Sophos Plc and Sophos Group.