diff options
Diffstat (limited to 'docs/en')
-rw-r--r-- | docs/en/developer/rabbitmq.rst | 11 | ||||
-rw-r--r-- | docs/en/developer/redis.rst | 15 |
2 files changed, 22 insertions, 4 deletions
diff --git a/docs/en/developer/rabbitmq.rst b/docs/en/developer/rabbitmq.rst index 8cee45fb..63b85106 100644 --- a/docs/en/developer/rabbitmq.rst +++ b/docs/en/developer/rabbitmq.rst | |||
@@ -57,11 +57,20 @@ Depending on which service you want to import from you need to enable one (or ma | |||
57 | # for Pocket import | 57 | # for Pocket import |
58 | bin/console rabbitmq:consumer import_pocket -w | 58 | bin/console rabbitmq:consumer import_pocket -w |
59 | 59 | ||
60 | # for Readbility import | 60 | # for Readability import |
61 | bin/console rabbitmq:consumer import_readability -w | 61 | bin/console rabbitmq:consumer import_readability -w |
62 | 62 | ||
63 | # for Instapaper import | ||
64 | bin/console rabbitmq:consumer import_instapaper -w | ||
65 | |||
63 | # for wallabag v1 import | 66 | # for wallabag v1 import |
64 | bin/console rabbitmq:consumer import_wallabag_v1 -w | 67 | bin/console rabbitmq:consumer import_wallabag_v1 -w |
65 | 68 | ||
66 | # for wallabag v2 import | 69 | # for wallabag v2 import |
67 | bin/console rabbitmq:consumer import_wallabag_v2 -w | 70 | bin/console rabbitmq:consumer import_wallabag_v2 -w |
71 | |||
72 | # for Firefox import | ||
73 | bin/console rabbitmq:consumer import_firefox -w | ||
74 | |||
75 | # for Chrome import | ||
76 | bin/console rabbitmq:consumer import_chrome -w | ||
diff --git a/docs/en/developer/redis.rst b/docs/en/developer/redis.rst index 5748e260..820a52e9 100644 --- a/docs/en/developer/redis.rst +++ b/docs/en/developer/redis.rst | |||
@@ -1,5 +1,5 @@ | |||
1 | Install Redis for asynchronous tasks | 1 | Install Redis for asynchronous tasks |
2 | ======================================= | 2 | ==================================== |
3 | 3 | ||
4 | In order to launch asynchronous tasks (useful for huge imports for example), we can use Redis. | 4 | In order to launch asynchronous tasks (useful for huge imports for example), we can use Redis. |
5 | 5 | ||
@@ -37,7 +37,7 @@ Edit your ``parameters.yml`` file to edit Redis configuration. The default one s | |||
37 | 37 | ||
38 | 38 | ||
39 | Launch Redis consumer | 39 | Launch Redis consumer |
40 | ------------------------ | 40 | --------------------- |
41 | 41 | ||
42 | Depending on which service you want to import from you need to enable one (or many if you want to support many) cron job: | 42 | Depending on which service you want to import from you need to enable one (or many if you want to support many) cron job: |
43 | 43 | ||
@@ -46,15 +46,24 @@ Depending on which service you want to import from you need to enable one (or ma | |||
46 | # for Pocket import | 46 | # for Pocket import |
47 | bin/console wallabag:import:redis-worker pocket -vv >> /path/to/wallabag/var/logs/redis-pocket.log | 47 | bin/console wallabag:import:redis-worker pocket -vv >> /path/to/wallabag/var/logs/redis-pocket.log |
48 | 48 | ||
49 | # for Readbility import | 49 | # for Readability import |
50 | bin/console wallabag:import:redis-worker readability -vv >> /path/to/wallabag/var/logs/redis-readability.log | 50 | bin/console wallabag:import:redis-worker readability -vv >> /path/to/wallabag/var/logs/redis-readability.log |
51 | 51 | ||
52 | # for Instapaper import | ||
53 | bin/console wallabag:import:redis-worker instapaper -vv >> /path/to/wallabag/var/logs/redis-instapaper.log | ||
54 | |||
52 | # for wallabag v1 import | 55 | # for wallabag v1 import |
53 | bin/console wallabag:import:redis-worker wallabag_v1 -vv >> /path/to/wallabag/var/logs/redis-wallabag_v1.log | 56 | bin/console wallabag:import:redis-worker wallabag_v1 -vv >> /path/to/wallabag/var/logs/redis-wallabag_v1.log |
54 | 57 | ||
55 | # for wallabag v2 import | 58 | # for wallabag v2 import |
56 | bin/console wallabag:import:redis-worker wallabag_v2 -vv >> /path/to/wallabag/var/logs/redis-wallabag_v2.log | 59 | bin/console wallabag:import:redis-worker wallabag_v2 -vv >> /path/to/wallabag/var/logs/redis-wallabag_v2.log |
57 | 60 | ||
61 | # for Firefox import | ||
62 | bin/console wallabag:import:redis-worker firefox -vv >> /path/to/wallabag/var/logs/redis-firefox.log | ||
63 | |||
64 | # for Chrome import | ||
65 | bin/console wallabag:import:redis-worker instapaper -vv >> /path/to/wallabag/var/logs/redis-chrome.log | ||
66 | |||
58 | If you want to launch the import only for some messages and not all, you can specify this number (here 12) and the worker will stop right after the 12th message : | 67 | If you want to launch the import only for some messages and not all, you can specify this number (here 12) and the worker will stop right after the 12th message : |
59 | 68 | ||
60 | .. code:: bash | 69 | .. code:: bash |