Changeset 1448
- Timestamp:
- Oct 18, 2013 11:27:26 AM (9 years ago)
- Location:
- pvMail
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
pvMail/doc/source/cli.rst
r802 r1448 1 1 .. $Id$ 2 2 3 pvMail .py: command-line interface3 pvMail: command-line interface 4 4 ================================== 5 5 … … 13 13 background daemon:: 14 14 15 pvMail .pytriggerPV messagePV user1@email.domain,user2@host.server &15 pvMail triggerPV messagePV user1@email.domain,user2@host.server & 16 16 17 17 GUI:: 18 18 19 pvMail .pytriggerPV messagePV user1@email.domain,user2@host.server -g &19 pvMail triggerPV messagePV user1@email.domain,user2@host.server -g & 20 20 21 21 PvMail uses Matt Newville's `PyEpics <http://cars9.uchicago.edu/software/python/pyepics3/>`_ … … 32 32 PvMail is started from the command line:: 33 33 34 $ ./pvMail.pypvMail:trigger pvMail:message jemian34 $ pvMail pvMail:trigger pvMail:message jemian 35 35 36 36 .. index:: log file … … 130 130 .. index:: example 131 131 132 Here is a command to run thePvMail and get the help message::133 134 /APSshare/epd/rh5-x86_64/bin/p ython /APSshare/epd/demos/pvMail.py-h132 Here is a command to run PvMail and get the help message:: 133 134 /APSshare/epd/rh5-x86_64/bin/pvMail -h 135 135 136 136 or the 32-bit version:: 137 137 138 /APSshare/epd/rh5-x86/bin/p ython /APSshare/epd/demos/pvMail.py-h138 /APSshare/epd/rh5-x86/bin/pvMail -h 139 139 140 140 .. note:: … … 157 157 When PvMail is started from the command line with no additional parameters:: 158 158 159 $ pvMail .py160 161 usage: pvMail .py[-h] [-l LOG_FILE] [-i LOGGING_INTERVAL]159 $ pvMail 160 161 usage: pvMail [-h] [-l LOG_FILE] [-i LOGGING_INTERVAL] 162 162 [-r SLEEP_DURATION] [-g] [-v] 163 163 trigger_PV message_PV email_addresses 164 pvMail .py: error: too few arguments164 pvMail: error: too few arguments 165 165 166 166 This is the *usage* message. … … 210 210 :: 211 211 212 $ pvMail .py--version212 $ pvMail --version 213 213 3.0-663 214 214 … … 218 218 It may be easier to review the short help instructions for command-line options:: 219 219 220 $ ./pvMail .py--help221 usage: pvMail .py[-h] [-l LOG_FILE] [-i LOGGING_INTERVAL]220 $ ./pvMail --help 221 usage: pvMail [-h] [-l LOG_FILE] [-i LOGGING_INTERVAL] 222 222 [-r SLEEP_DURATION] [-g] [-v] 223 223 trigger_PV message_PV email_addresses … … 251 251 program output to a log file. If a LOG_FILE is not specified on the command 252 252 line, the default file will be ``pvMail-PID.log`` in the current directory 253 where *PID* is the process identifier of the running pvMail.pyprogram.253 where *PID* is the process identifier of the running ``pvMail`` program. 254 254 255 255 .. note:: -
pvMail/doc/source/glossary.rst
r1094 r1448 30 30 EPICS process variable 31 31 32 :index:`PvMail` 33 Name of the Python package that provides the ``pvMail`` executable 34 35 :index:`pvMail` 36 Name of the ``pvMail`` executable 37 32 38 :index:`PyEpics` 33 39 Python package to manage connections with PVs served by an EPICS IOC -
pvMail/doc/source/gui.rst
r802 r1448 3 3 .. _GUI: 4 4 5 pvMail .py: graphical user interface5 pvMail: graphical user interface 6 6 ==================================== 7 7 … … 15 15 command-line interface is started.:: 16 16 17 $ ./pvMail.py-g &17 $ pvMail -g & 18 18 19 19 .. tip:: -
pvMail/doc/source/index.rst
r1094 r1448 5 5 6 6 http://subversion.xray.aps.anl.gov/admin_bcdaext/pvMail 7 8 .. note:: While *PvMail* is the name of the Python package, 9 the executable installed in <python>/bin is called 10 ``pvMail`` using a command line such as:: 11 12 [user@host,518,~]$ pvMail 7 13 8 14 PvMail was built to watch (monitor) an EPICS PV and send an email -
pvMail/doc/source/info.rst
r1094 r1448 49 49 ============================ 50 50 51 :v3.0.2: 52 * (2013-10-18) 53 * Simplify startup of ``pvMail`` by installing launcher as ``<python>/bin/pvMail`` as part of ``setup.py`` tasks 54 51 55 :v3.0.1: 52 56 * (2012-09-07) -
pvMail/setup.py
r681 r1448 34 34 package_dir={'PvMail': 'src/PvMail',}, 35 35 package_data = {'PvMail': ['test.db', 'LICENSE',],}, 36 entry_points={ 37 # create & install console_scripts in <python>/bin 38 'console_scripts': pvMail.__console_scripts__, 39 }, 36 40 ) -
pvMail/src/PvMail/LICENSE
r677 r1448 1 Copyright (c) 2009-201 2, UChicago Argonne, LLC1 Copyright (c) 2009-2013, UChicago Argonne, LLC 2 2 3 3 All Rights Reserved -
pvMail/src/PvMail/pvMail.py
r1137 r1448 74 74 __svnid__ = "$Id$" 75 75 __version__ = "3" 76 __minor_version__ = "0. 1"76 __minor_version__ = "0.2" 77 77 __revision__ = __svnid__.split(" ")[2] 78 78 #__full_version__ = "%s.%s-r%s" % (__version__, __minor_version__, __revision__) … … 84 84 __license__ = "(c) 2009-2012, UChicago Argonne, LLC" 85 85 __license__ += " (see LICENSE file for details)" 86 # create & install console_scripts in <python>/bin 87 __console_scripts__ = ['pvMail = PvMail.pvMail:main', ] 86 88 87 89 LOG_FILE = "pvMail-%d.log" % os.getpid()
Note: See TracChangeset
for help on using the changeset viewer.