Skip to content
Snippets Groups Projects
Commit 1773601a authored by Nikos Marinos's avatar Nikos Marinos
Browse files

crontab fixes

parent 09500d69
No related branches found
No related tags found
......@@ -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/crontab
# Give execution rights on the cron job
RUN chmod 0644 /etc/cron.d/populate-journal-cron
RUN chmod 0644 /etc/cron.d/crontab
# Apply cron job
RUN crontab /etc/cron.d/populate-journal-cron
RUN crontab /etc/cron.d/crontab
# install Firefox - apparently no debian package for firefox 57
RUN apt-get install -y libdbus-glib-1-2
......
0 8 * * 0 node server/populate-journal/api.js
#!/bin/bash
echo "Running cron service"
service cron start
echo "Running ftp monitor"
./runShellScript.sh "node server/ftp-integration/api" &
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment