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.

Script schedule question

Featured Replies

So I have a script (code below) that is supposed to delete nfo, sfv and srr files from my movies & tv_shows folders. I have scheduled the script with the following entry in the GO file

 

echo "/boot/delete_video_info_files" | at 3:00

 

and when I restart the server I get the message that the script will be executed the next morning at 3:00. However the script never runs automatically, or if it runs it doesn't delete any files.

It works flawlessly when manually run. What am I missing? Is the "spin-down" of the drives causing this (hence I put the sleep 10 in my script") or something else?

 

Thanks in advance for your help.

 

------script start------

 

#!/bin/sh

cd /mnt/user/movies

ls

sleep 10

touch edin.nfo

find . -name '*.nfo' -type f -print0 | xargs -0 rm

touch edin.sfv

find . -name '*.sfv' -type f -print0 | xargs -0 rm

touch edin.srr

find . -name '*.srr' -type f -print0 | xargs -0 rm

cd /mnt/user/tv_shows

ls

sleep 10

touch edin.nfo

find . -name '*.nfo' -type f -print0 | xargs -0 rm

touch edin.sfv

find . -name '*.sfv' -type f -print0 | xargs -0 rm

touch edin.srr

find . -name '*.srr' -type f -print0 | xargs -0 rm

 

-------script end---------

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.