From 29f0171f03cb5e86ce9e5028673c81142a25b055 Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Mon, 30 Jan 2012 11:26:43 -0600 Subject: [PATCH] https://groups.google.com/group/web2py/browse_thread/thread/ab8aa84d3baeeb3c/, thanks Jonathan --- VERSION | 2 +- gluon/newcron.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index d6a709a5..ea81fdba 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2012-01-30 11:15:20) stable +Version 1.99.4 (2012-01-30 11:26:36) stable diff --git a/gluon/newcron.py b/gluon/newcron.py index 8073e71f..1b40023d 100644 --- a/gluon/newcron.py +++ b/gluon/newcron.py @@ -290,6 +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('--') 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]