Running PHP Scripts as CRON jobs from a password protected directory

derricks

Registered
Dec 11, 2005
1
0
151
I have some PHP scripts that I want to run as CRON jobs. They are all kept in a password protected directory.
I use the following syntax "GET http://yourdomain.com/path_to_file/file.php > /dev/null " and get in return the following "401 Authorization Required "
How do I pass the username and password??? :rolleyes: