diff options
| author | 2023-05-04 05:52:35 +0200 | |
|---|---|---|
| committer | 2023-05-04 05:52:35 +0200 | |
| commit | cf8d91147b1a0233ba5d3d98a8806bd2a87c222d (patch) | |
| tree | 4322845077f98e9eb74e71467c9de37aafcc0e2f | |
| parent | Ensure no actor data is left in actor_get(). (diff) | |
| download | penes-snac2-cf8d91147b1a0233ba5d3d98a8806bd2a87c222d.tar.gz penes-snac2-cf8d91147b1a0233ba5d3d98a8806bd2a87c222d.tar.xz penes-snac2-cf8d91147b1a0233ba5d3d98a8806bd2a87c222d.zip | |
Updated documentation.
| -rw-r--r-- | doc/snac.1 | 14 |
1 files changed, 14 insertions, 0 deletions
| @@ -220,6 +220,20 @@ Please take note that they will show your timeline in a 'Mastodon fashion' | |||
| 220 | post display with the most active threads at the top that the web interface of | 220 | post display with the most active threads at the top that the web interface of |
| 221 | .Nm | 221 | .Nm |
| 222 | provides. | 222 | provides. |
| 223 | .Ss Implementing post bots | ||
| 224 | .Nm | ||
| 225 | makes very easy to post messages in a non-interactive manner. This example | ||
| 226 | posts a string: | ||
| 227 | .Bd -literal -offset indent | ||
| 228 | uptime | snac note $SNAC_BASEDIR $SNAC_USER - | ||
| 229 | .Ed | ||
| 230 | .Pp | ||
| 231 | You can setup a line like this from a | ||
| 232 | .Xr crontab 5 | ||
| 233 | or similar. Take note that you need a) command-line access to the same machine | ||
| 234 | that hosts the | ||
| 235 | .Nm | ||
| 236 | instance, and b) write permissions to the storage directories and files. | ||
| 223 | .Sh ENVIRONMENT | 237 | .Sh ENVIRONMENT |
| 224 | .Bl -tag -width Ds | 238 | .Bl -tag -width Ds |
| 225 | .It Ev DEBUG | 239 | .It Ev DEBUG |