UsageStats stopped working after change of domain and database

What I have done so far-

  1. I changed my domain to a new domain
    - Installed new and latest OJS 3.1.1.4 on a new domain (My old domain had 3.1.1.2)
    - Copied the old database in a new database file by importing in PHPmySQL
    - Used the new database in the new domain

  2. UsageStats has stopped working since then…
    a) ScheduleTaskLogs folder
    New%20Bitmap%20Image

Edit: Solved