How to modify curl cronjob for password protected admin folder

As recently recommenced at the CashCrusaderSoftware site to enable password protection for your admin folder, the tutorial did not cover the use of modifying curl to work with this.

Change

Code:

/usr/bin/curl -s http://YOURDOMAIN/scripts/admin/cronjobs.php > /dev/null

to

Code:

/usr/bin/curl -s -u user:pass http://YOURDOMAIN/scripts/admin/cronjobs.php > /dev/null

  • 2 Users Found This Useful
Was this answer helpful?

Related Articles

How to email authenticate

HowTo enable email authenticationYou must be using the latest cPanel to enable these...

IE 8 Compatibility issues

There have been several reports and alot of questions on why IE 8 doesn't display certain...

How to run the auto update function

All sites hosted on shared hosting have their directory/folder permissions changed daily to...

How to email authenticate

HowTo enable email authenticationYou must be using the latest cPanel to enable these...

How to run the auto update function

All sites hosted on shared hosting have their directory/folder permissions changed daily to...