The best way to do this I know is by use of cron job
We can edit the cron jobs using the command crontab -e
The time for this is 0 4 * * * on the hour at 4 every day every week every month
The delete is done by rm /home/pi/.kodi/temp#/filecache*.*
No comments:
Post a Comment