Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to stop dockerized SAB for cleanup script

Featured Replies

I have written a script to run in cron.daily that checks for older files and directories in SAB's download folders and deleted things older than 3 days. I find if this script doesn't run, I end up with all kinds of crap from my automation (Sonarr and Couchpotato) there after a week or two. In my unRAID 5, I would simply stop sab with "/etc/rc.d/rc.sabnzbd stop". Is this still the same? Or is there another way to start and stop SAB running within the docker?

Docker stop SABnzbd

 

script action

 

Then

 

Docker start SABnzbd

 

  • Author

NICE :) Thanks very much :)

Gotta ask, why not get sab to run your script on completion? That way no need to stop sab

  • Author

I already run 2 post scripts with SAB, and I didn't wanna make it a 3rd. Also, sometimes I end up taking the original nfo file that came with the release. That was I have 3 days before everything gets deleted. I thought about going that route and decided against it.

  • Author

I get :

Docker command file not found.

 

  • Community Expert

I get :

Docker command file not found.

Where when and how did you get this?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.