Tutti Nuovi

user:thomas utente che ha creato il gist

title:mygist titolo del gist

filename:myfile.txt nome di file nel gist

extension:yml estensione del file nel gist

language:go linguaggio del file nel gist

topic:homelab gists with given topic

Entra


Tutti Nuovi Entra

All gists matching topic SABnzbd

Più recente creazione
Meno recente creazione
Più recente aggiornamento
Meno recente aggiornamento

zer0 / sab_queue_pause_all.sh

0 mi piace
0 forks
1 files
Ultima volta attivo 5 months ago
Pause all items in SABnzbd queue
SABnzbd
1 #!/usr/bin/zsh
2
3 # ==== Configuration ====
4 SABNZBD_HOST="" # IP or FQDN with port if on non-standard port
5 API_KEY="" # API key
6 HTTP_SCHEME="" # http or https
7
8 # ==== Extract Job IDs ====
9 JOB_IDS=($(curl -s "$HTTP_SCHEME://$SABNZBD_HOST/sabnzbd/api?apikey=$API_KEY&mode=queue&output=json" | jq -r '.queue.slots[] | select(.status != "Paused") | .nzo_id'))
Più nuovi Più vecchi

Creato da Opengist ⋅ Load: 146ms⋅

Italiano
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文