Currently this is outdated and will not work! See http://log.logfish.net/node/43
Removing 30 day old files from you gnome trash can be done with the following magic line:
find ~/.local/share/Trash/files/ -type f -mtime +30 -printf '%P\000' |xargs -n1 -I {} -0 gvfs-rm trash:///_{}# m h dom mon dow command
MAILTO=""
@daily find $HOME/.local/share/Trash/files/ -type f -mtime +30 -printf '\%P\000' |xargs -n1 -I {} -0 gvfs-rm trash:///_{}# m h dom mon dow command
MAILTO=""
0 */3 * * * find $HOME/.local/share/Trash/files/ -type f -mtime +30 -printf '\%P\000' |xargs -n1 -I {} -0 gvfs-rm trash:///_{}
Update: Changed -mtime 30 to -mtime +30 to delete all 30 day old and older files.
Update: Changed ~/ into $HOME