escape % in crontab and dev.yml
parent
b840845335
commit
f8411fe310
|
@ -21,4 +21,4 @@
|
||||||
#
|
#
|
||||||
# m h dom mon dow command
|
# m h dom mon dow command
|
||||||
* * * * * cd /opt/regluit; . /opt/regluit/ENV/bin/activate; /opt/regluit/ENV/bin/django-admin.py emit_notices --settings=regluit.settings.please > /opt/regluit/deploy/emit_notices.log 2>&1 ; touch /opt/regluit/deploy/last-cron
|
* * * * * cd /opt/regluit; . /opt/regluit/ENV/bin/activate; /opt/regluit/ENV/bin/django-admin.py emit_notices --settings=regluit.settings.please > /opt/regluit/deploy/emit_notices.log 2>&1 ; touch /opt/regluit/deploy/last-cron
|
||||||
@reboot sudo mkdir /var/run/celery; sudo chown celery:celery /var/log/celery /var/run/celery; /opt/regluit/ENV/bin/celery multi restart w1 --logfile="/var/log/celery/%n.log" --pidfile="/var/log/celery/%n.pid"; /etc/init.d/celerybeat restart;
|
@reboot sudo mkdir /var/run/celery; sudo chown celery:celery /var/log/celery /var/run/celery; /opt/regluit/ENV/bin/celery multi restart w1 --logfile="/var/log/celery/\%n.log" --pidfile="/var/log/celery/\%n.pid"; /etc/init.d/celerybeat restart;
|
||||||
|
|
|
@ -382,7 +382,7 @@
|
||||||
# command: /etc/init.d/celeryd start
|
# command: /etc/init.d/celeryd start
|
||||||
|
|
||||||
- name: start celery queue with celery multi
|
- name: start celery queue with celery multi
|
||||||
command: /opt/regluit/ENV/bin/celery multi restart w1 --logfile=\"/var/log/celery/%n.log\" --pidfile=\"/var/log/celery/%n.pid\"
|
command: /opt/regluit/ENV/bin/celery multi restart w1 --logfile=\"/var/log/celery/%%n.log\" --pidfile=\"/var/log/celery/%%n.pid\"
|
||||||
sudo: no
|
sudo: no
|
||||||
|
|
||||||
- name: just after attempt to launch celeryd
|
- name: just after attempt to launch celeryd
|
||||||
|
|
Loading…
Reference in New Issue