Scheduler Scripts
About
Scheduler extensions are called by scheduler tasks (setup by the user).
Writing scheduler extensions
Please read Extensions for general information about extensions first.
Schedule
Users can activate scheduler extensions in two ways:
By creating a scheduler task with TaskX.Command=Script
and choosing the extension. The schedule time is configured
via scheduler task in option TaskX.Time
.
For many scheduler extensions a reasonable default schedule can be provided by extension author, via extension definition.
Scheduler extensions with default schedule can be activated/deactiated the Extension Manager;
no creation of a scheduler task is required. If user doesn’t like the default scheduling he can create a scheduler task
(instead of or in addition to activating the script via option “Extensions”).
Example (explained below):
{
"main": "main.py",
"name": "MyExtension",
"homepage": "https://github.com/nzbgetcom/Extension-MyExtension",
"kind": "QUEUE/SCHEDULER/POST-PROCESSING",
"displayName": "My Extension",
"version": "2.0",
"author": "John Doe",
"license": "GNU",
"about": "Test script.",
"queueEvents": "NZB_ADDED",
"requirements": [],
"description": ["This is a long description for test script."],
"options": [
{
"name": "Option1",
"displayName": "Option 1",
"value": "yes",
"description": ["Example script option (yes, no)."],
"select": ["yes", "no"]
}
],
"commands": [],
"taskTime": "*;*:00;*:30"
}
Introduction
Installation manuals
- Installation on Windows
- Installation on Windows via WinGet
- Installation on macOS
- Installation on macOS via Homebrew
- Installation on Linux
- Installation on Docker
- Installation on Docker - LinuxServer.io version
- Installation on Android
- Installation on Synology
- Installation on QNAP
- Installation on other NAS devices
Building manuals
Configuration
- Backup And Restore Settings
- Performance Tips
- Choosing Cipher
- Behind Other Web Server
- TLS certificate verification
Usage
- Quick Filter
- Keyboard Shortcuts
- RSS and duplicate check
- VideoSort
- Console Mode
- Command Line Reference
- Performing Speed Tests
Development
Extensions
- Extension Scripts
- Post-processing scripts
- Scan Scripts
- Queue Scripts
- Scheduler Scripts
- Feed Scripts
- API reference