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
----- Original Message ----- From: bryan@redfedora.co.uk To: "For users of Fedora Core releases" fedora-list@redhat.com Sent: Monday, June 28, 2004 3:55 PM Subject: Re: crontab or crond
----- Original Message ----- From: Cristiano Soares To: fedora-list@redhat.com Sent: Monday, June 28, 2004 7:22 PM Subject: crontab or crond
Hi all. im having some problems trying to use crontab or cron.d. I want to run a shell script-1 from 7:00 pm to 11:00 pm, and then run the shell script-2 from 11:01pm to 6:59 pm. Does anyone know how to do this? Thanks
a
lot.
Cristiano.
Hi Cristiano
You didn't specify how many times you wanted it to run during those times. If you let me know I'll bash out a crontab for you no worries!
One of the other things you might want to think about is whether you need
it
logged or not. My email crontab runs every 5 minutes and does get logged
so
that I can track down problems, you might not want it to, however I find
it
handy for nailing transcient problems or users trying to jam 10MB
through.
So let me know how often and I'll send it across to you.
Bry
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list