Cron invalid user

I want to be able to set up a cron job daily, so the search module on my drupal site remains current. I know how to run it manually, but when I try to set it up using the wget command, it tells me that i am an invalid user. there are no users to choose from in the drop down menu. How can I do this, so I don’t have to run the cron manually?