Re: still ... problem with my crontab

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

 



On Mon, 6 Oct 2003, kent emia wrote:

> hi guyz i have a problem.. maybe this sound so very simple for you out
> there but ... its like hell down here ..
> 
> ok. i have to make a crontab to automate the connection of workstations
> to the internet, using iptables there are certain times they are allow
> and not...
> 
> so i created a script files named 
> 'restoreConnection' and 'dropConnection' exucuting these files is not a
> problem but when applying to the crontab is ...
> 
> in the crontab when i will say 
> 30 8 * * * echo "test">cron.file 
> it will work but if followed by an iptable command
> 
> 30 8 * * *  echo "test">cron.file 
> 30 8 * * * iptables -F CUSTOMINPUT (this wont work)

You probably need to specify the full path to the iptables command:

30 8 * * * /sbin/iptables -F CUSTOMINPUT
-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org:2000

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe


-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux