Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # see ctonrtab -e
- # At 02:00 on Mon.
- # 0 2 * * 1 /root/cleanup-tmp.sh >> /tmp/crontab/cleanup-tmp.log 2>&1
- echo '-------- /root/cleanup-tmp.sh ---------'
- date
- # cleanup /tmp files and directories
- rm -vfr /tmp/log* /tmp/*log /tmp/*.sh /tmp/RackMultipart* /tmp/npm-* /tmp/native-platform* /tmp/phantomjs*
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement