Hello,

I am using cpanel standard crontab set-up, I have the path to the file correct but the path leads to a password protected directory ie:

*php /home/example/public_html/admin/script.php*

admin is password protected, how would I allow the crontab access to the script?

Thanks in advance.

Have you tried it? I don't believe that Cron will have a problem because the password protection should only apply for access from the web.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.