Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into features/validators...
[akkoma] / docs / administration / CLI_tasks / digest.md
index 89b3ed237ee07a4d0513849c3ccfaf2025490477..a590581e3592245a41628a2492815b33347354ae 100644 (file)
@@ -1,15 +1,33 @@
 # 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.
+
+=== "OTP"
+
+    ```sh
+     ./bin/pleroma_ctl digest test <nickname> [since_date]
+    ```
+
+=== "From Source"
+
+    ```sh
+    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
-```
+
+=== "OTP"
+
+    ```sh
+    ./bin/pleroma_ctl digest test donaldtheduck 2019-05-20
+    ```
+
+=== "From Source"
+
+    ```sh
+    mix pleroma.digest test donaldtheduck 2019-05-20
+    ```
+