From 76ff553fb5188be4b5671b3d3f79c7ced7a25e13 Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Mon, 30 Jan 2012 12:57:18 -0600 Subject: [PATCH] new cron -- conditional to web2py.py, thanks Jonathan --- VERSION | 2 +- gluon/newcron.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index ea81fdba..703f1ce1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2012-01-30 11:26:36) stable +Version 1.99.4 (2012-01-30 12:57:03) stable diff --git a/gluon/newcron.py b/gluon/newcron.py index 1b40023d..5b74d773 100644 --- a/gluon/newcron.py +++ b/gluon/newcron.py @@ -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]