Create Background Process

hi all,

I want to create background processes.

for example a user makes an account after that without put user in waiting application search db for other people who adds new user’s email/name for their friend and put the result in db for future look up.

how i can implement this stuff?

  • sorry for my weak english

thanks