Skip to content

Management Commands

Michael Beaton edited this page Dec 22, 2022 · 5 revisions

mentions_pending

python manage.py mentions_pending

Batch-process any incoming or outgoing webmentions.

You can ignore this if you use Celery.

Otherwise, uou will need to run this command regularly to allow webmentions to be sent and received. You may want to schedule it with cron or similar:

# Run every hour at 27 minutes past.
27 * * * * /path/to/python /path/to/project/manage.py mentions_pending

mentions_reverify

python manage.py mentions_reverify [filters ...] [--all]

Reprocess any received Webmentions to check if they are still 'live' or have changed.

Accepts a space-separated list of field=value queryset filters, or --all to reprocess all Webmention instances.