Commented print statement while inserting record in scheduler
This commit is contained in:
parent
cc25954bd6
commit
8875d91a8e
@ -386,7 +386,7 @@ class DocType:
|
|||||||
'event': 'setup.doctype.email_digest.email_digest.send'
|
'event': 'setup.doctype.email_digest.email_digest.send'
|
||||||
}
|
}
|
||||||
from webnotes.utils.scheduler import Scheduler
|
from webnotes.utils.scheduler import Scheduler
|
||||||
print "before scheduler"
|
#print "before scheduler"
|
||||||
sch = Scheduler()
|
sch = Scheduler()
|
||||||
sch.connect()
|
sch.connect()
|
||||||
|
|
||||||
@ -411,7 +411,7 @@ class DocType:
|
|||||||
else:
|
else:
|
||||||
# delete scheduler entry
|
# delete scheduler entry
|
||||||
sch.clear(args['db_name'], args['event'])
|
sch.clear(args['db_name'], args['event'])
|
||||||
print "after on update"
|
#print "after on update"
|
||||||
|
|
||||||
|
|
||||||
def get_next_sending(self):
|
def get_next_sending(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user