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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Whose crontab are you editing? Yours or root's?
Who does the program SquidGuard belong to (ls -l SquidGuard)
Post the exact line you are using in the crontab that you say is not working
I notice that you have failed to follow advise that was given you and failed to provide details asked for. The question before us now is: why should we help you?
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
Quote:
Originally Posted by Dogar
hi simon bridge
i am telling all about i do to use cron utinlity
i am a root user
i run the follling command as root
#crontab -e
an editor open and i write the following code in it. just one line of code
0-59/1 * * * * root /usr/local/squidGuard/squidGuard -C all
there is nothing more in it
when i exit after saving this file folloeing message is
crontab: installing new crontab
these is all i done but it still not work
can u tell me about cron.hourly and cron.weakly?
1) Read the howto linked by Simon Bridge in post #3.
2) Answer the questions in my above post. In particular, does the command work if you run it manually. Do you get any messages in root's mail to give you the output of the above comand? You must answer these questions if we are to help you further.
3) Any scripts placed in /etc/cron.daily will be run once per day at the time specified in /etc/crontab. Likewise, scripts in /etc/cron.weekly are run once per week at the time specified in /etc/crontab.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.