Password Directories and CRON

Can anyone tell me how to run a cron job behind a password protected directory?

My cron was working perfectly until a password protected my directory.

This is an example of the cron command I was running:
curl http://www.yourdomain.com/admin/reset.php

It stopped working after a password protected my admin directory.
Can anyone help?
Thanks

 

 

 

 

Top