Is there any function or plugin to realize a repeating timer which saves only the most recent recording?
I'd like to record the daily news, but obviously I'm not interested in news that are older than one day...
It's a little bit annoying to manually delete all these old recordings...
Save only most recent recording with repeating timer
Started by feelfree, 17 Mar 2012 20:35
4 replies to this topic
Re: Save only most recent recording with repeating timer #2
Posted 17 March 2012 - 22:24
I'm not aware of any plugin...
You could make a directory on your hard drive (or whatever recording location) for only you daily recordings thet you want automagically removed. Point the timer for such programs there as it's recording location. Then you could set up a simple cron job to empty the directory daily. Say you record the 10pm news, a cron job like:
55 21 * * * rm /path/to/directory/*
should delete all the previous days files 5 min before the current recording starts. That'd probably be the simplest bet, more complicated variations of that "theme" could also be configured, like deleting specific files over 24 hours old, etc...
--
hemi
You could make a directory on your hard drive (or whatever recording location) for only you daily recordings thet you want automagically removed. Point the timer for such programs there as it's recording location. Then you could set up a simple cron job to empty the directory daily. Say you record the 10pm news, a cron job like:
55 21 * * * rm /path/to/directory/*
should delete all the previous days files 5 min before the current recording starts. That'd probably be the simplest bet, more complicated variations of that "theme" could also be configured, like deleting specific files over 24 hours old, etc...
--
hemi
Re: Save only most recent recording with repeating timer #3
Re: Save only most recent recording with repeating timer #4
Re: Save only most recent recording with repeating timer #5
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users