Skip to content

Commit b7acf41

Browse files
committed
add keepalive for vpn
1 parent 60865bd commit b7acf41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grades-docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN pip install git+https://github.com/TINF21CS1/python-campusnet@dev
1111
COPY grades.sh /app/grades.sh
1212
RUN chmod 777 /app/grades.sh; chmod +x /app/grades.sh
1313
RUN crontab -l /cron
14-
RUN echo "0 7-23 * * * /bin/sh /app/grades.sh" >> /cron
14+
RUN echo "0 7-23 * * * /bin/sh /app/grades.sh\n0/5 * * * * ping -c 4 www.google.com" >> /cron
1515
RUN crontab /cron
1616
RUN rm /cron
1717

0 commit comments

Comments
 (0)