Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I setup a cron job to do a weekly download from urlblacklist.com, then I extract the tarball and rebuild all the indexes using the squidGuard command. I would suggest to read the O'Reilly Squid book. It really teaches you how to do manage squid in detail. The rest you will have to google.
Below is my script. It works like a charm. It downloads the latest blacklist every weekend and automatically updates it. Squid is interrupted only for a couple of minutes. It's built for Debian so you may have to modify it if using something else. Save it to /root/scripts/blacklistupdate.sh then run 'crontab -e' as root to add it. Remember to restart cron. I have it running every Sunday night at 2AM or so.
wget -Y on "http://urlblacklist.com/cgi-bin/commercialdownload.pl?type=download&file=bigblacklist" -O blacklist.tar.gz
this line of code
#*/15 * * * * (/./pingo >> cronmessage.log)
is my test line and it work properly.it mean that there is not problem in my cron file.
can you give me yor cron file please and guide me more in this reguard
Better yet, move it to the directory /etc/cron.weekly. You don't need to update you lists every day but only every week. Make sure that cron trully is running in the background after you restart. I hope this helps.
as i told you in my last post that my "script" file is working manulay.but when i put it into my cron weakly or cron daily dorectories then it is not working.
is there any other method or some thing other to do.....