Quote:
Originally Posted by plato
I followed cmyksteve's prior forum thread but it didn't work?
1. Password protected the folder OK - but why do I have to complete the login details twice before it displays?
2. I presumed the /home/account/public_html/cgi-bin/update.sh has the word account replaced with my domain (USERNAME)
3. Do I need to adjust the permissions for this script?
Any advice and I'll give it another go.
|
Perm's on cgi-bin folder and the .sh file are 755.
Here are the contents of the .sh file:
#!/bin/bash
cp tmp/webalizer/*.html tmp/webalizer/*.png tmp/webalizer/webalizer.* public_html/webstats
Here is what is in the cron:
/home/username/public_html/cgi-bin/webstats.sh
I replaced the account login name with "username." That is your main account for the domain.
The time entries are 0 * * * *
The webstats folder is pass-protected through cpanel, and I used a different name/pass than the main account.
Hope that works.