You could use cron (the Linux scheduler) to run a command that would clear out the Recycle Bins.
First, let's test out the command and make sure it works.
Create a shell script using pico - e.g. pico ~/clearbins.sh
#!/bin/sh
# Simple command to clear out recycle bin
# Be careful with this as it may require adapting
# Make sure to BACK UP your Ibays before testing
rm -rf /home/e-smith/files/ibays/{ibay1,ibay2,ibay3}/files/Recycle\ Bin/*
Exit pico with CTRL-X - make sure to save the script!
Now make the script executable and then test it:
chmod +x ~/clearbins.sh
~/clearbins.sh
Did everything work out? Then you can schedule the working command using a custom template. If not, go back into pico ("pico ~/clearbins.sh") and fiddle with the command as need be.
Once it's working as expected, we can create the cron template:
mkdir -p /etc/e-smith/templates-custom/etc/crontab/
pico /etc/e-smith/templates-custom/etc/crontab/90clearbins
Set the code fragment to run the job every Friday at 5pm (or whatever):
# empty the recycle bins
# runs every Friday at 5pm
0 17 * * 5 rm -rf /home/e-smith/files/ibays/{ibay1,ibay2,ibay3}/files/Recycle\ Bin/*
Save and exit pico. And finally expand the cron template:
expand-template /etc/crontab
If this works, we should probably add it to the wiki page (
http://wiki.contribs.org/RecycleBin)