Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    166
    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,460
    Likes Received:
    21
    Trophy Points:
    463
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. EdRooney

    EdRooney BANNED

    Joined:
    Oct 21, 2004
    Messages:
    166
    Likes Received:
    0
    Trophy Points:
    166
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice