mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-08 17:13:56 +00:00
Added note on $text
SVN revision: 1934
This commit is contained in:
parent
2bd991d609
commit
6fd1552b95
@ -1502,7 +1502,10 @@ be changed, while otherways (like with the <b><code>Subst Telephone =
|
|||||||
database. The <b><code><command></code></b> can contain
|
database. The <b><code><command></code></b> can contain
|
||||||
substitutions similar to the <b><code>Subst</code></b> command. In
|
substitutions similar to the <b><code>Subst</code></b> command. In
|
||||||
addition the list of all attachments can be referred to via
|
addition the list of all attachments can be referred to via
|
||||||
<b><code><$attachments></code></b> Following (Unix) command
|
<b><code>$<attachment></code></b>. The text body of the entry
|
||||||
|
can be referred to with <b><code>$text</code></b>. It should
|
||||||
|
be noted that only the first 1500 characters of the text can be used,
|
||||||
|
in order not to exceed the limits of the shell. Following (Unix) command
|
||||||
writes a notification into some file:
|
writes a notification into some file:
|
||||||
<pre>
|
<pre>
|
||||||
Execute new = echo "New message wiht ID $message id of type $type from $long_name on $remote_host" >> /tmp/elog.log
|
Execute new = echo "New message wiht ID $message id of type $type from $long_name on $remote_host" >> /tmp/elog.log
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user