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
- What is the Default NZBGet Password?
- NZBGet Docker Setup Guide
- NZBGet Port Settings and Access Guide
- How to Configure NZBGet: Complete Setup Guide
- What Is Usenet?
- NZBGet 502 Error: Quick Fix Guide
- How to Upgrade from NZBGet v21.1 to the Latest NZBGet Version
- Slow NZBGet Speeds? Here’s How to Fix It
- NZBGet Performance Optimization Guide
- NZBGet Path and Folder Structure Guide
- How to Link NZBGet with Sonarr, Radarr, and Other Tools
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
News server setup
- Astraweb
- BlockNews
- Cheapnews
- EasyNews
- Eweka
- FreeDiscussions
- Frugal Usenet
- GigaNews
- NewsDemon
- Newsgroup Ninja
- NewsgroupDirect
- Newshosting
- Pure Usenet
- SunnyUsenet
- Supernews
- theCubeNet
- ThunderNews
- TweakNews
- Usenet.Farm
- UsenetExpress
- UsenetServer
- UseNext
- ViperNews
- XLned
- XS News