Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
jupyterjsc
k8s
config
Commits
34b9f034
Commit
34b9f034
authored
3 years ago
by
Tim Kreuzer
Browse files
Options
Downloads
Patches
Plain Diff
delete old userlabs-jobs, too
parent
5c39dd1a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
cronjob/cleanup_job_archive.sh
+1
-0
1 addition, 0 deletions
cronjob/cleanup_job_archive.sh
with
1 addition
and
0 deletions
cronjob/cleanup_job_archive.sh
+
1
−
0
View file @
34b9f034
#!/bin/bash
#!/bin/bash
sudo
find /nfs/jupyter-jsc-live/common/jobs-archive/
-maxdepth
1
-type
d
-ctime
+30
-exec
rm
-rf
{}
\;
sudo
find /nfs/jupyter-jsc-live/common/jobs-archive/
-maxdepth
1
-type
d
-ctime
+30
-exec
rm
-rf
{}
\;
sudo
find /nfs/jupyter-jsc-live/common/userlabs-jobs/
-maxdepth
1
-type
d
-ctime
+30
-exec
rm
-rf
{}
\;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment