X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;ds=inline;f=docs%2Fadministration%2FCLI_tasks%2Fdigest.md;h=a590581e3592245a41628a2492815b33347354ae;hb=548ca43bcf9ed72a70bd98f074241dbb0e7801ec;hp=89b3ed237ee07a4d0513849c3ccfaf2025490477;hpb=869ea2ab90bb461ad3dd06ac974f227da369fcf8;p=akkoma diff --git a/docs/administration/CLI_tasks/digest.md b/docs/administration/CLI_tasks/digest.md index 89b3ed237..a590581e3 100644 --- a/docs/administration/CLI_tasks/digest.md +++ b/docs/administration/CLI_tasks/digest.md @@ -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 -``` +## Send digest email since given date (user registration date by default) ignoring user activity status. + +=== "OTP" + + ```sh + ./bin/pleroma_ctl digest test [since_date] + ``` + +=== "From Source" + + ```sh + mix pleroma.digest test [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 + ``` +