new cron -- conditional to web2py.py, thanks Jonathan
This commit is contained in:
@@ -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
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user