fixed crontab
This commit is contained in:
parent
9d52c8454b
commit
116154a111
|
@ -9,7 +9,7 @@ Python packages: `flask gunicorn requests bs4 redis lxml`
|
||||||
## Install
|
## Install
|
||||||
1. Get on the floor
|
1. Get on the floor
|
||||||
2. Walk the dinosaur
|
2. Walk the dinosaur
|
||||||
3. Install crontab to run `cron.py` ex. `0 * * * * python3 /path/to/cron.py`
|
3. Install crontab to run `cron.py` ex. `0 * * * * . /path/to/virtual/environment/activate && cd /path/to/simplesyndicate && python3 cron.py`
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
`gunicorn -b localhost:5200 -e SCRIPT_NAME=/ss ss:app`
|
`gunicorn -b localhost:5200 -e SCRIPT_NAME=/ss ss:app`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user