Skip to content

Commit 40fb685

Browse files
authored
fix: update every 3 hours (#19)
* fix: update every 3 hours * remove idea
1 parent d5cfb87 commit 40fb685

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.idea/

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM vuls/go-exploitdb@sha256:4738ca739083d41b89aab11012e283f89645f5cdbb5c021f2f
55
RUN mkdir /vuls
66

77
# Set up a cron job to update the database files every 3 hours
8-
RUN echo "* */3 * * * /update.sh" >> /var/spool/cron/crontabs/root
8+
RUN echo "0 */3 * * * /update.sh" >> /var/spool/cron/crontabs/root
99

1010
# Make sure the cron job file has proper permissions
1111
RUN chmod 0600 /var/spool/cron/crontabs/root

0 commit comments

Comments
 (0)