diff options
author | rinpatch <rinpatch@sdf.org> | 2019-12-09 04:07:16 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-12-09 04:07:16 +0300 |
commit | eb9ea8475b19d6a00f690421b193310c09ba40f3 (patch) | |
tree | 53786d780cc8e07100c70b4af4b01dfafd35d6b3 /docs/administration/CLI_tasks/digest.md | |
parent | af5fef1f228a1781d7d9cad490d3b3a783389f5e (diff) | |
download | pleroma-eb9ea8475b19d6a00f690421b193310c09ba40f3.tar.gz pleroma-eb9ea8475b19d6a00f690421b193310c09ba40f3.zip |
docs: add OTP/From source tabs to CLI tasks
Diffstat (limited to 'docs/administration/CLI_tasks/digest.md')
-rw-r--r-- | docs/administration/CLI_tasks/digest.md | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/docs/administration/CLI_tasks/digest.md b/docs/administration/CLI_tasks/digest.md index 547702031..a70f24c06 100644 --- a/docs/administration/CLI_tasks/digest.md +++ b/docs/administration/CLI_tasks/digest.md @@ -1,13 +1,24 @@ # 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`. + +{! backend/administration/CLI_tasks/general_cli_task_info.include !} ## Send digest email since given date (user registration date by default) ignoring user activity status. -```sh -$PREFIX test <nickname> [<since_date>] +```sh tab="OTP" + ./bin/pleroma_ctl digest test <nickname> [<since_date>] +``` + +```sh tab="From Source" +mix pleroma.digest test <nickname> [<since_date>] ``` + 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 +``` + |