diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2014-10-24 12:16:51 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2014-10-24 12:16:51 -0400 |
| commit | ece1d828d53d6123fcecb5ea8bf9b126d1728ccc (patch) | |
| tree | b669382d0e5f1234556d1aeb7fa919891510b24d /facebook_scraping/client/Makefile | |
| parent | 7426d8ff0e7969eb1a86bdb5bec8a0c971309e2b (diff) | |
| download | fast-seeding-ece1d828d53d6123fcecb5ea8bf9b126d1728ccc.tar.gz | |
Add code
Diffstat (limited to 'facebook_scraping/client/Makefile')
| -rw-r--r-- | facebook_scraping/client/Makefile | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/facebook_scraping/client/Makefile b/facebook_scraping/client/Makefile new file mode 100644 index 0000000..3a07802 --- /dev/null +++ b/facebook_scraping/client/Makefile @@ -0,0 +1,15 @@ +all: boostrap run + +boostrap: + curl http://thibaut.horel.org/facebook/facebook.tar.gz > facebook.tar.gz + tar -xzf facebook.tar.gz + +run: + celery -A tasks --concurrency=2 worker --detach -l info + +stop: + rm -f celeryd.pid + pgrep -f "celery worker" | xargs kill -9 + +restart: + pgrep -f "celery worker" | xargs kill -HUP |
