Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document cron job for removing deploy owned files older than 7 days #39

Open
2 tasks
bess opened this issue Jan 17, 2018 · 0 comments
Open
2 tasks

Document cron job for removing deploy owned files older than 7 days #39

bess opened this issue Jan 17, 2018 · 0 comments

Comments

@bess
Copy link
Contributor

bess commented Jan 17, 2018

We should have a shared practice where files in the /tmp directory that are owned by deploy are deleted after 7 days. Otherwise they start filling up the disk after awhile.

sudo find /tmp -type f -mtime +7 -user deploy -execdir rm -- '{}' ;

  • Document setting up a cron job via whenever
  • Documenting setting up this particular cron job
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant