a line in my crontab

Posted by cannibal, 01-13-2008, 05:50 AM
hello I found this line in my crontab file 0 7-23/3 * * * top.sh when it's running ? and what is it doing ??

Posted by psyxakias, 01-13-2008, 06:01 AM
It runs top.sh script every 3 hours (from 07:00 to 23:00), you may want to try locate top.sh or find / -name "top.sh" -print and check its code to find what is it about.

Posted by david510, 01-14-2008, 03:58 AM
cannibal, Had you admitted any admin to work on your server lately due to any load issues? If yes, he might have set that.

Posted by cannibal, 01-15-2008, 11:36 AM
Yes, I am paying for server managment plan I now found that they changed the line to 0 3 * * * clamd service restart what does this mean ??!! I reported in the past that email are not received outside the server in OUTLOCK and then mentioned something about clamd always going down !!!

Posted by Patrick, 01-15-2008, 11:50 AM
That means that every day at 03:00 clamd will be restarted. Clamd is a popular anti-virus daemon for *NIX based systems. To be honest, it's a cheap fix on your servers managements behalf... but whatever works.

Posted by cannibal, 01-15-2008, 11:53 AM
how can I make it work every 5 hours !!!

Posted by Patrick, 01-15-2008, 12:15 PM
The following should work: 0 */5 * * * clamd service restart

Var dette svaret til hjelp?

 Print

Les også disse

Mysql query LIKE%

Posted by net4all, 03-12-2010, 05:32 AMI got a special mysql-problem: I have a table containing...

Eaccellerator?

Posted by dragon2611, 01-12-2008, 09:13 PMI believe I understand what it does (cache php scripts...

How to call/load .net dll(C#) from c++ code?

Posted by TajByte, 03-22-2007, 04:50 AMHow to call/load .net dll(C#) from c++ code? Posted...

looking for a PHP/Opensource Voting/poll system..

Posted by CyberHostPro, 08-16-2011, 07:49 AMHello I have told a local charity i'll help them...

How to retrieve the total number of rows when using LIMIT X, XXX

Posted by yangyang2036, 09-17-2008, 10:09 PMWith php+mysql, $results -> num_rows returns the...