The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is there a way to get apf to flush every 30 minutes in devel mode?

Discussion in 'General Discussion' started by EdRooney, Nov 29, 2004.

  1. EdRooney

    EdRooney BANNED

    Joined:
    Oct 21, 2004
    Messages:
    166
    Likes Received:
    0
    Trophy Points:
    0
    Is there a way to get apf to flush every 30 minutes in devel mode? Or how bout every hour?

    What should I be looking for?

    # apf -s
    Development mode enabled!; firewall will flush every 5 minutes.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    I believe that it simply creates a cron file called /etc/cron.d/apf, you should be able to edit that and set the cron interval to what you want.
     
  3. EdRooney

    EdRooney BANNED

    Joined:
    Oct 21, 2004
    Messages:
    166
    Likes Received:
    0
    Trophy Points:
    0
    I dont see it in there?
    root@server10001 [/etc/cron.d]# ll
    total 24
    drwxr-xr-x 2 root root 4096 Nov 28 23:43 ./
    drwxr-xr-x 52 root root 12288 Dec 1 19:19 ../
    -rwxr-xr-x 1 root root 63 Nov 28 23:42 bfd*
    -rwxr-xr-x 1 root root 81 Nov 28 23:43 lsm*
     
Loading...

Share This Page