This repository has been archived by the owner on Feb 18, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathstart_queues.sh
executable file
·46 lines (44 loc) · 1.88 KB
/
start_queues.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#!/bin/bash
RUNNING=`ps ax | grep 'public/index.php queue doctrine' | grep -v grep | awk '{print $1}'`
for pid in $RUNNING; do
echo "Killing queue process [PID $pid]"
kill -9 $pid
done
php public/index.php queue doctrine bibtex --start &
echo "Started Bibtex queue [PID $!]"
php public/index.php queue doctrine bibtexreferences --start &
echo "Started BibtexReferences queue [PID $!]"
php public/index.php queue doctrine cermine --start &
echo "Started CERMINE queue [PID $!]"
php public/index.php queue doctrine citationstyle --start &
echo "Started CitationStyle queue [PID $!]"
php public/index.php queue doctrine docx --start &
echo "Started DocX queue [PID $!]"
php public/index.php queue doctrine epub --start &
echo "Started Epub queue [PID $!]"
php public/index.php queue doctrine html --start &
echo "Started HTML queue [PID $!]"
php public/index.php queue doctrine merge --start &
echo "Started XML merge queue [PID $!]"
php public/index.php queue doctrine nlmxml --start &
echo "Started NLMXML queue [PID $!]"
php public/index.php queue doctrine pathfinder --start &
echo "Started pathfinder queue [PID $!]"
php public/index.php queue doctrine pdf --start &
echo "Started PDF queue [PID $!]"
php public/index.php queue doctrine references --start &
echo "Started References queue [PID $!]"
php public/index.php queue doctrine wppdf --start &
echo "Started WpPdf queue [PID $!]"
php public/index.php queue doctrine xmp --start &
echo "Started XMP queue [PID $!]"
php public/index.php queue doctrine zip --start &
echo "Started Zip queue [PID $!]"
php public/index.php queue doctrine ner --start &
echo "Started NER queue [PID $!]"
php public/index.php queue doctrine parsCit --start &
echo "Started ParsCit queue [PID $!]"
php public/index.php queue doctrine grobid --start &
echo "Started Grobid queue [PID $!]"
php public/index.php queue doctrine xmlfinal --start &
echo "Started XML Final queue [PID $!]"