Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
X
xpub-epmc
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Literature-services
public-projects
xpub-epmc
Commits
1773601a
Commit
1773601a
authored
6 years ago
by
Nikos Marinos
Browse files
Options
Downloads
Patches
Plain Diff
crontab fixes
parent
09500d69
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+3
-3
3 additions, 3 deletions
Dockerfile
crontab
+1
-0
1 addition, 0 deletions
crontab
post_init.sh
+3
-0
3 additions, 0 deletions
post_init.sh
with
7 additions
and
3 deletions
Dockerfile
+
3
−
3
View file @
1773601a
...
...
@@ -8,13 +8,13 @@ RUN echo 'deb http://dl.google.com/linux/chrome/deb/ stable main' >> /etc/apt/so
RUN
apt-get update
&&
apt-get
install
-y
google-chrome-stable cron
# Add crontab file in the cron directory
ADD
crontab /etc/cron.d/
populate-journal-
cron
ADD
crontab /etc/cron.d/cron
tab
# Give execution rights on the cron job
RUN
chmod
0644 /etc/cron.d/
populate-journal-
cron
RUN
chmod
0644 /etc/cron.d/cron
tab
# Apply cron job
RUN
crontab /etc/cron.d/
populate-journal-
cron
RUN
crontab /etc/cron.d/cron
tab
# install Firefox - apparently no debian package for firefox 57
RUN
apt-get
install
-y
libdbus-glib-1-2
...
...
This diff is collapsed.
Click to expand it.
crontab
+
1
−
0
View file @
1773601a
0 8 * * 0 node server/populate-journal/api.js
This diff is collapsed.
Click to expand it.
post_init.sh
+
3
−
0
View file @
1773601a
#!/bin/bash
echo
"Running cron service"
service cron start
echo
"Running ftp monitor"
./runShellScript.sh
"node server/ftp-integration/api"
&
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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