You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+33-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,39 @@
2
2
3
3
This repository is a collection of useful scripts and tools for TAs and professors to manage students workloads.
4
4
5
-
## get_url.py
5
+
## Cronjobs
6
+
7
+
### ope-notebook-culler
8
+
9
+
This cronjob runs once every 48 hours at 7am, removing all notebooks from the rhods-notebooks namespace. To add resources to the rhods-notebooks namespace:
10
+
11
+
1. Ensure you are logged in to your OpenShift account via the CLI and you have access to rhods-notebooks namespace.
12
+
2. Switch to rhods-notebooks namespace:
13
+
```
14
+
oc project rhods-notebooks
15
+
```
16
+
3. From cronjobs/ope-notebook-culler/ directory run:
17
+
```
18
+
oc apply -k .
19
+
```
20
+
This will deploy all the necessary resources for the cronjob to run on the specified schedule.
0 commit comments