diff --git a/.gitignore b/.gitignore index 78ebfba..c25599c 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ __pycache__/ .*.swp config.json venv/ +*.log diff --git a/crontab.example b/crontab.example new file mode 100644 index 0000000..759b81f --- /dev/null +++ b/crontab.example @@ -0,0 +1,3 @@ +@reboot $HOME/amber-ebooks/reply.py >> $HOME/reply.log 2>>$HOME/reply.log #keep the reply process running in the background +*/20 * * * * $HOME/amber-ebooks/gen.py >> $HOME/gen.log 2>>$HOME/gen.log #post every twenty minutes +*/15 * * * * $HOME/amber-ebooks/main.py >> $HOME/main.log 2>>$HOME/main.log #refresh the database every 15 minutes diff --git a/usage b/usage new file mode 100644 index 0000000..e69de29