new cron -- conditional to web2py.py, thanks Jonathan

This commit is contained in:
Massimo Di Pierro
2012-01-30 12:57:18 -06:00
parent 29f0171f03
commit 76ff553fb5
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1 +1 @@
Version 1.99.4 (2012-01-30 11:26:36) stable
Version 1.99.4 (2012-01-30 12:57:03) stable
+1 -1
View File
@@ -290,7 +290,7 @@ def crondance(applications_parent, ctype='soft', startup=False):
w2p_path = fileutils.abspath('web2py.py', gluon=True)
if os.path.exists(w2p_path):
commands.append(w2p_path)
commands.append('--')
commands.append('--')
if global_settings.applications_parent != global_settings.gluon_parent:
commands.extend(('-f', global_settings.applications_parent))
citems = [(k in task and not v in task[k]) for k,v in checks]