From c5a84860cf73a1ce4b022b49ded03caf355fccad Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Fri, 22 Jan 2016 20:22:10 +0530 Subject: [PATCH] Enable auto update --- bench/utils.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/bench/utils.py b/bench/utils.py index 61d47dc9..35162f99 100644 --- a/bench/utils.py +++ b/bench/utils.py @@ -181,8 +181,6 @@ def get_bench_dir(bench='.'): return os.path.abspath(bench) def setup_auto_update(bench='.'): - # disabling auto update till Frappe version 5 is stable - return logger.info('setting up auto update') add_to_crontab('0 10 * * * cd {bench_dir} && {bench} update --auto >> {logfile} 2>&1'.format(bench_dir=get_bench_dir(bench=bench), bench=os.path.join(get_bench_dir(bench=bench), 'env', 'bin', 'bench'),