2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

Merge pull request #176 from revant/master

Enable auto update
This commit is contained in:
Rushabh Mehta 2016-02-22 15:05:40 +05:30
commit 5add77f969

View File

@ -183,8 +183,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'),