2013-12-29, 02:47
Yes, but you might not want to run them concurrently.
would cache movies, tvshows and sets (movie sets).
Alternatively this is where a simple script would help:
and save it as /storage/preload.sh giving it execute permission with "chmod +x /storage/preload.sh"
Then in cron:
Now if you want to add extra steps or perform other preload tasks you just edit the script rather than add more cron entries which may overlap as you never know how long they're going to take.
Code:
./texturecache.py c video
would cache movies, tvshows and sets (movie sets).
Alternatively this is where a simple script would help:
Code:
#!/bin/bash
/storage/texturecache.py c movies
/storage/texturecache.py c tvshows
and save it as /storage/preload.sh giving it execute permission with "chmod +x /storage/preload.sh"
Then in cron:
Code:
00 06 * * /storage/preload.sh
Now if you want to add extra steps or perform other preload tasks you just edit the script rather than add more cron entries which may overlap as you never know how long they're going to take.