Re: crontab or crond

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Di, den 29.06.2004 schrieb Cristiano Soares um 2:23:

> Hi. Thanks for the reply. Here is my situation:
> 
> I have a server that has a HTB shaper running and my HTB scripts are called
> rc.filter and rc.filter2. The first one(rc.filter) has all ports opened, and
> the second one(rc.filter2) has the e-donkey and bittorrent ports
> closed(4661, 4661, 8668, ....). What I want to do is to run the first
> script(rc.filter) from 12:00am to 7:00pm so anyone can download and uso
> anything during that time, and run the second script(rc.filter2) from 7:01
> to 11:59(the rest of the day), so people wont kill the bandwidth at the
> point that others cant even browse. Thanks in advance.

> Cristiano

So you have 2 events. Please read "man 5 crontab" - it contains all the
information you need. Execute rc.filter at 12:00am and rc.filter2 at
07:01pm.

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) on Athlon CPU kernel 2.6.6-1.435 
Serendipity 02:52:59 up 2 days, 4:40, load average: 0.73, 1.07, 0.89 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux