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 on a new domain (My old domain had
    - 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

Edit: Solved