mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
*** empty log message ***
SVN revision: 1239
This commit is contained in:
parent
6ca1751824
commit
435dcba058
@ -1112,12 +1112,14 @@ It is possible to execute a shell command on the server side after a new message
|
|||||||
has been submitted, edited or deleted. This feature has been used in the past
|
has been submitted, edited or deleted. This feature has been used in the past
|
||||||
for SMS notifications over a telephone system and for synchrnonization of the ELOG
|
for SMS notifications over a telephone system and for synchrnonization of the ELOG
|
||||||
database with an external SQL database. The <b><code><command></code></b> can
|
database with an external SQL database. The <b><code><command></code></b> can
|
||||||
contain substitutions similar to the <b><code>Subst</code></b> command.
|
contain substitutions similar to the <b><code>Subst</code></b> command. In addition
|
||||||
|
the list of all attachments can be referred to via <b><code><$attachemnts></code></b>
|
||||||
Following (Unix) command writes a notification into some file:<p>
|
Following (Unix) command writes a notification into some file:<p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
Execute new = echo "New message of type $type from $long_name on $remote_host" >> /tmp/elog.log
|
Execute new = echo "New message of type $type from $long_name on $remote_host" >> /tmp/elog.log
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
It should be noted that this feature can impose a security problem. If someone can edit
|
It should be noted that this feature can impose a security problem. If someone can edit
|
||||||
the elogd.cfg through the <b><code>Config</code></b> command of elogd, that person
|
the elogd.cfg through the <b><code>Config</code></b> command of elogd, that person
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user