From 2d0a2a9a0a11926c120f9ff38e4ffea35f2aab63 Mon Sep 17 00:00:00 2001 From: dave Date: Sat, 30 Aug 2014 11:02:17 -0700 Subject: [PATCH] Add cron step to readme, remove unused import --- Readme.md | 1 + app.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 9d6abf1..9da91e4 100644 --- a/Readme.md +++ b/Readme.md @@ -19,6 +19,7 @@ A python3 web app to record internet radio streams and present them in a podcast - Write the config for uwsgi, start that daemon - Write the config for nginx, and view the page. - Create a symbolic link in static/ pointing to files/output/. Command: `mkdir files/ ; mkdir files/output/ ; mkdir files/temp/ ; ln -s ../files/output static/test ` +- Add a cron job to call http://my.server/api/tick every minute. Podcast usage: each schedule has a numerical id. To view the podcast, http://my.server/api/getPodcast?id=[number] diff --git a/app.py b/app.py index 40d7e7a..a0fe4f5 100644 --- a/app.py +++ b/app.py @@ -13,7 +13,6 @@ import signal from jinja2 import Environment, FileSystemLoader from libs import database from libs import recordTick -from feedgen.feed import FeedGenerator from datetime import datetime if __name__ == '__main__' or 'uwsgi' in __name__: