MattC
Member
The script had a glitch last night, exiting when it thought the files were in use.. seems like the files were open by mediatomb, even though I don't actively use that package. I'd rebooted the box (power off/on) without any effect which was odd.
It also seems as though something had broken the cron job & the script wasn't being run at all.
Here's what I did to fix the problem (in case anyone else has the same issue);
1) I've removed mediatomb (which I don't use)
2) Edited the cron file (/mnt/hd2/mod/var/spool/cron/crontabs/root) to fix this problem (not sure if an update I did on Sat broke it...)
Changed this...
*/10 * * * * /mod/sbin/auto-unprotect
0,15,30,45 * * * * /mod/bin/seriesfiler 2>&1 >> /mod/tmp/seriesfiler.log*/10 * * * * /mod/sbin/auto-unprotect
To this...
*/10 * * * * /mod/sbin/auto-unprotect
0,15,30,45 * * * * /mod/bin/seriesfiler 2>&1 >> /mod/tmp/seriesfiler.log
3) Restart the cron job service.
/mod/etc/init.d/S01crond restart
The script is working properly now
It also seems as though something had broken the cron job & the script wasn't being run at all.
Here's what I did to fix the problem (in case anyone else has the same issue);
1) I've removed mediatomb (which I don't use)
2) Edited the cron file (/mnt/hd2/mod/var/spool/cron/crontabs/root) to fix this problem (not sure if an update I did on Sat broke it...)
Changed this...
*/10 * * * * /mod/sbin/auto-unprotect
0,15,30,45 * * * * /mod/bin/seriesfiler 2>&1 >> /mod/tmp/seriesfiler.log*/10 * * * * /mod/sbin/auto-unprotect
To this...
*/10 * * * * /mod/sbin/auto-unprotect
0,15,30,45 * * * * /mod/bin/seriesfiler 2>&1 >> /mod/tmp/seriesfiler.log
3) Restart the cron job service.
/mod/etc/init.d/S01crond restart
The script is working properly now