Skip to content

Latest commit

 

History

History
47 lines (41 loc) · 1.04 KB

notify_abort.md

File metadata and controls

47 lines (41 loc) · 1.04 KB
title description published date tags editor dateCreated
notify_abort
true
2022-09-18 05:26:04 UTC
markdown
2022-09-18 05:26:01 UTC

Notify Abort

Includes/PluginReplacedArchived{.include}

Sends a notification to notifer plugins on task aborts.

Config:

Options Type Description Default
to list List of at least one notifer plugins, the same plugin can be used

Usage:

tasks:
  download_task:
    rss: http://stuff.com
    accept_all: yes
    download: /downloads/
    notify_abort:
      to:
        - pushover:
            user_key: user_key

This will send a notification using the following defaults:
title - Task {{ task_name }} has aborted!
message - Reason: {{ task.abort_reason }}

You could also use notify_abort in a global template as such:

templates:
  global:
    notify_abort:
      to:
        - pushover:
            user_key: user_key

Doing this will let you be notified of any task abort.