From 764da41d36d81c70ea4ac043743da6dadc8e549b Mon Sep 17 00:00:00 2001 From: Raymond Yee Date: Fri, 8 May 2015 15:13:24 -0700 Subject: [PATCH] fix problem in crontab for please --- deploy/crontab_please.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/crontab_please.txt b/deploy/crontab_please.txt index 2c130019..1e10ea48 100644 --- a/deploy/crontab_please.txt +++ b/deploy/crontab_please.txt @@ -20,5 +20,5 @@ # For more information see the manual pages of crontab(5) and cron(8) # # m h dom mon dow command -* * * * * cd /opt/regluit; source /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; sudo /etc/init.d/celeryd restart; sudo /etc/init.d/celerybeat restart;