commit cf8d911
default
·
2023-05-04 03:52:35 +0000 UTC
parent cf2b334
Updated documentation.
1 files changed,
+14,
-0
+14,
-0
1@@ -220,6 +220,20 @@ Please take note that they will show your timeline in a 'Mastodon fashion'
2 post display with the most active threads at the top that the web interface of
3 .Nm
4 provides.
5+.Ss Implementing post bots
6+.Nm
7+makes very easy to post messages in a non-interactive manner. This example
8+posts a string:
9+.Bd -literal -offset indent
10+uptime | snac note $SNAC_BASEDIR $SNAC_USER -
11+.Ed
12+.Pp
13+You can setup a line like this from a
14+.Xr crontab 5
15+or similar. Take note that you need a) command-line access to the same machine
16+that hosts the
17+.Nm
18+instance, and b) write permissions to the storage directories and files.
19 .Sh ENVIRONMENT
20 .Bl -tag -width Ds
21 .It Ev DEBUG