Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into frontend-bundles...
[akkoma] / docs / administration / CLI_tasks / digest.md
index 89b3ed237ee07a4d0513849c3ccfaf2025490477..2eb31379e62fa222344637f1149d85b0d58785b3 100644 (file)
@@ -1,15 +1,25 @@
 # Managing digest emails
-Every command should be ran with a prefix, in case of OTP releases it is `./bin/pleroma_ctl digest` and in case of source installs it's `mix pleroma.digest`.
 
-## `test`
+{! backend/administration/CLI_tasks/general_cli_task_info.include !}
 
-```sh
-$PREFIX test <nickname> <since_date>
+## Send digest email since given date (user registration date by default) ignoring user activity status.
+
+```sh tab="OTP"
+ ./bin/pleroma_ctl digest test <nickname> [since_date]
+```
+
+```sh tab="From Source"
+mix pleroma.digest test <nickname> [since_date]
 ```
 
-Send digest email since given date (user registration date by default) ignoring user activity status.
 
 Example: 
-```sh
-$PREFIX test donaldtheduck 2019-05-20
+
+```sh tab="OTP"
+./bin/pleroma_ctl digest test donaldtheduck 2019-05-20
 ```
+
+```sh tab="From Source"
+mix pleroma.digest test donaldtheduck 2019-05-20
+```
+