28 Nov
2007
28 Nov
'07
20:45
Jeff Mahoney wrote:
Richard Creighton wrote:
asus:~ # crontab -e -u root
15 11 * * * /root/OFF.sh 11 22 * * * /root/ON.sh
:wq
asus:~ # cat OFF.sh #!/bin/bash iptables -I OUTPUT -s 0/0 -p tcp --dport 80 -j DROP
done manually asus:~ # ./OFF.sh asus:~ # iptables -L -n | less ...
Might iptables not be in the PATH for the cron job?
Also make sure the OFF.sh and ON.sh are executable: chmod +x Ken -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org