Cleaning up temp and bash + periodics
Ignoring for a moment that the daily, weekly, monthly jobs are running automatically anyway, you need to make sure that you are either in the correct directory or using absolute paths when running rm:

rm -rf /PATH/TO/.TemporaryItems
rm -rf ~/.Trash