Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #!/bin/bash
  2. # see ctonrtab -e
  3. # At 02:00 on Mon.
  4. # 0 2 * * 1 /root/cleanup-tmp.sh >> /tmp/crontab/cleanup-tmp.log 2>&1
  5. echo '-------- /root/cleanup-tmp.sh ---------'
  6. date
  7. # cleanup /tmp files and directories
  8. 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