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

how to handle the dir-cache-time with cron #25

Open
Antexa opened this issue Apr 28, 2017 · 2 comments
Open

how to handle the dir-cache-time with cron #25

Antexa opened this issue Apr 28, 2017 · 2 comments

Comments

@Antexa
Copy link

Antexa commented Apr 28, 2017

May have already been mentioned but how to manage the dir-cache-time with the script plexupdatenew.cron

By default, the folder cache time is set to 5 min. The trigger time (CRON side) may be after the file creation date (server copy side). This will not trigger scanning of the library.

Did u get the point ? 😨

@ajkis
Copy link
Owner

ajkis commented Apr 29, 2017

That can be a problem, i made a lot of changes in the script now to check for files now https://github.com/ajkis/scripts/blob/master/plex/plexupdatenewfolders.sh

@ajkis
Copy link
Owner

ajkis commented Apr 29, 2017

If you want to be completely on safe side when it comes to scans then you should use my other 2 scripts

First one will generate list of folders before doing rclone upload

  1. https://github.com/ajkis/scripts/blob/master/plex/plexgeneratefolderlist.sh

Second one will refresh only folders previously generated with script 1.
2 https://github.com/ajkis/scripts/blob/master/plex/plexrefreshfolderlist.sh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants