mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Add the possibility to run cleanup tasks from the command line
This commit is contained in:
parent
3dc8e5ebaf
commit
5550d662a2
9 changed files with 138 additions and 116 deletions
49
miniflux.1
49
miniflux.1
|
@ -1,39 +1,34 @@
|
|||
.\" Manpage for miniflux.
|
||||
.TH "MINIFLUX" "1" "August 29, 2022" "\ \&" "\ \&"
|
||||
.TH "MINIFLUX" "1" "June 25, 2023" "\ \&" "\ \&"
|
||||
|
||||
.SH NAME
|
||||
miniflux \- Minimalist and opinionated feed reader
|
||||
|
||||
.SH SYNOPSIS
|
||||
\fBminiflux\fR [-vic] [-create-admin] [-debug] [-flush-sessions] [-info] [-migrate]
|
||||
[-reset-feed-errors] [-reset-password] [-version] [-config-file]
|
||||
[-config-dump] [-cronjob] [-healthcheck]
|
||||
\fBminiflux\fR [-vic] [-config-dump] [-config-file] [-create-admin] [-debug] [-flush-sessions]
|
||||
[-healthcheck] [-info] [-migrate] [-refresh-feeds] [-reset-feed-errors] [-reset-password]
|
||||
[-run-cleanup-tasks] [-version]
|
||||
|
||||
.SH DESCRIPTION
|
||||
\fBminiflux\fR is a minimalist and opinionated feed reader.
|
||||
|
||||
.SH OPTIONS
|
||||
.PP
|
||||
.B \-cronjob
|
||||
.RS 4
|
||||
Run Miniflux as a cronjob to refresh a batch of feeds and exit\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-c
|
||||
.RS 4
|
||||
Load configuration file\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-config-file
|
||||
.RS 4
|
||||
Load configuration file\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-config-dump
|
||||
.RS 4
|
||||
Print parsed configuration values. This will include sensitive information like passwords\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-c /path/to/miniflux.conf
|
||||
.RS 4
|
||||
Load configuration file\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-config-file /path/to/miniflux.conf
|
||||
.RS 4
|
||||
Load configuration file\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-create-admin
|
||||
.RS 4
|
||||
Create admin user\&.
|
||||
|
@ -49,7 +44,7 @@ Show debug logs\&.
|
|||
Flush all sessions (disconnect users)\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-healthcheck
|
||||
.B \-healthcheck <endpoint>
|
||||
.RS 4
|
||||
Perform a health check on the given endpoint\&.
|
||||
.br
|
||||
|
@ -58,12 +53,12 @@ The value "auto" try to guess the health check endpoint\&.
|
|||
.PP
|
||||
.B \-i
|
||||
.RS 4
|
||||
Show application information\&.
|
||||
Show build information\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-info
|
||||
.RS 4
|
||||
Show application information\&.
|
||||
Show build information\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-migrate
|
||||
|
@ -71,6 +66,11 @@ Show application information\&.
|
|||
Run SQL migrations\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-refresh-feeds
|
||||
.RS 4
|
||||
Refresh a batch of feeds and exit\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-reset-feed-errors
|
||||
.RS 4
|
||||
Clear all feed errors for all users\&.
|
||||
|
@ -81,6 +81,11 @@ Clear all feed errors for all users\&.
|
|||
Reset user password\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-run-cleanup-tasks
|
||||
.RS 4
|
||||
Run cleanup tasks (delete old sessions and archives old entries)\&.
|
||||
.RE
|
||||
.PP
|
||||
.B \-v
|
||||
.RS 4
|
||||
Show application version\&.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue