A bit of help please ...

Is there a way to automatically import users from another MySQL db (which has SHA1 password hashing) into Drupal 7? And it should be executed every x hours ...