X-Git-Url: https://git.squeep.com/?a=blobdiff_plain;ds=sidebyside;f=docs%2Fadministration%2FCLI_tasks%2Fdigest.md;h=a590581e3592245a41628a2492815b33347354ae;hb=058bf96798bb27b84bce1c46f7debd1561885454;hp=5477020318bafb9987e489ba171d4931abf0cf4b;hpb=91e90aa807c2ce346cd453201447806fb71b21fe;p=akkoma diff --git a/docs/administration/CLI_tasks/digest.md b/docs/administration/CLI_tasks/digest.md index 547702031..a590581e3 100644 --- a/docs/administration/CLI_tasks/digest.md +++ b/docs/administration/CLI_tasks/digest.md @@ -1,13 +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`. + +{! 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 [] -``` +=== "OTP" + + ```sh + ./bin/pleroma_ctl digest test [since_date] + ``` + +=== "From Source" + + ```sh + mix pleroma.digest test [since_date] + ``` + 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 + ``` +