Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename plexdrivefixchunkwarrnings.sh to plexdrivefixchunkwarnings.sh #40

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
#!/bin/bash
## plexdrivefixchunkwarrnings.sh (chmod a+x plexdrivefixchunkwarrnings.sh)
## plexdrivefixchunkwarnings.sh (chmod a+x plexdrivefixchunkwarnings.sh)
## This script will read from plexdrive mount log and make folders that plexdrive could not: WARNING: Could not write chunk temp file /xxxx
## To run script automatically every minute type: crontab -e and add line bellow (without ##):
## * * * * * /path/plexdrivefixchunkwarrnings.sh >/dev/null 2>&1
## * * * * * /path/plexdrivefixchunkwarnings.sh >/dev/null 2>&1
##
## Optionally you can run it more often eg every 15 secnds with cron by adding (do not add the above one then):
## * * * * * sleep 00; /path/plexdrivefixchunkwarrnings.sh >/dev/null 2>&1
## * * * * * sleep 15; /path/plexdrivefixchunkwarrnings.sh >/dev/null 2>&1
## * * * * * sleep 30; /path/plexdrivefixchunkwarrnings.sh >/dev/null 2>&1
## * * * * * sleep 45; /path/plexdrivefixchunkwarrnings.sh >/dev/null 2>&1
## * * * * * sleep 00; /path/plexdrivefixchunkwarnings.sh >/dev/null 2>&1
## * * * * * sleep 15; /path/plexdrivefixchunkwarnings.sh >/dev/null 2>&1
## * * * * * sleep 30; /path/plexdrivefixchunkwarnings.sh >/dev/null 2>&1
## * * * * * sleep 45; /path/plexdrivefixchunkwarnings.sh >/dev/null 2>&1
## More scripts at: https://github.com/ajkis/scripts
## If you find script useful feel free to buy me a beer at https://paypal.me/ajki
if pidof -o %PPID -x "$0"; then
Expand Down