Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OERu
wenotes-docker
Commits
835b285b
Commit
835b285b
authored
Sep 19, 2018
by
Dave Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding blog_feed.py to cron...
parent
90c2390f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docker-wenotes-tools/Dockerfile
docker-wenotes-tools/Dockerfile
+1
-1
No files found.
docker-wenotes-tools/Dockerfile
View file @
835b285b
...
...
@@ -14,7 +14,7 @@ RUN set -ex \
echo
"PY=/usr/bin/python"
;
\
echo
'8,18,28,38,48,58 * * * * root cd $WEDIR && nice $PY bookmarks.py && nice $PY medium.py'
;
\
echo
'6,16,26,36,46,56 * * * * root cd $WEDIR && nice $PY mastodon.py && nice $PY hypothesis.py'
;
\
echo
'4,14,24,34,44,54 * * * * root cd $WEDIR && nice $PY
gplus
.py && nice $PY feeds.py && nice $PY
groups
.py'
;
\
echo
'4,14,24,34,44,54 * * * * root cd $WEDIR && nice $PY
saylor-discourse
.py && nice $PY feeds.py && nice $PY
blog_feed
.py'
;
\
echo
'2,12,22,32,42,52 * * * * root cd $WEDIR && nice $PY forums.py && nice $PY discourse.py --full'
;
\
echo
'*/1 * * * * root echo "Cron ran at $(date)" >> $LOG'
;
\
}
|
tee
/etc/cron.d/wenotes-cron
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment