Scheduler Error

Hi Everyone,

I wrote a code which will send an email to some specific users when it is called.
After that I scheduled the code in the Scheduler for running it Weekly.

Actually what happened initially in the
I wrote:

scheduler_events = {
	"weekly": ['library_management.update_items.autoemail_crm_updaets']

whereas instead of library_management it should be library as shown below:

scheduler_events = {
	"weekly": ['library.update_items.autoemail_crm_updaets']

And after few minutes of putting the code in I changed it to library instead of library management 2 days back.

Now, today I came to know that it is still giving the same error which I have resolved on the same day and did bench restart at the same time.

Method: weekly, Handler: library_management.update_items.autoemail_crm_updaets
Traceback (innermost last):
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/", line 114, in scheduler_task
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/", line 785, in get_attr
    throw(_("App {0} is not installed").format(app_name), AppNotInstalledError)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/", line 264, in throw
    msgprint(msg, raise_exception=exc)
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/", line 257, in msgprint
  File "/home/ubuntu/frappe-bench/apps/frappe/frappe/", line 242, in _raise_exception
    raise raise_exception, encode(msg)
 AppNotInstalledError: App library_management is not installed

where in the it is written library instead of library_management.
May I know what did I miss.

Can you try after removing .pyc bytecode file?