diff --git a/py/webnotes/utils/scheduler.py b/py/webnotes/utils/scheduler.py index 9d66f70922..a2122a3b99 100644 --- a/py/webnotes/utils/scheduler.py +++ b/py/webnotes/utils/scheduler.py @@ -49,7 +49,7 @@ def execute(): if not webnotes.conn: webnotes.connect() - webnotes.connect.begin() + webnotes.conn.begin() out = [] # if first task of the day execute daily tasks