Re: still ... problem with my crontab

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

 



thanks for the reply .... its now working...

On Mon, 2003-10-06 at 21:05, Mike Burger wrote:
> 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
-- 
====================
  -- Kent C. Emia --
====================
Software Studio for Concepts,
Development and Research, Corp.
: Unit 307 3rd flr Central Plaza 1,
   J.P. Laurel Avenue, Davao City
   8000 Philippines
: http://www.cdr.com.ph
: +(6382)225-3728

- my IM's -
icq     : 347511398
yahoo   : kent_emia
hotmail : kentskie

- my page


- my mobile -


-- 
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