• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Crontab entries disapear

Scheduled Pinned Locked Moved General pfSense Questions
4 Posts 4 Posters 2.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    mmaxx
    last edited by Oct 21, 2008, 12:02 PM

    Hi,

    I've added an entry to my crontab to run squid-reports on a daily basis. Every few months or so, the entry disappears and i'm left with just the default pfsense entries!

    What is the correct way to add crontab entries in PF sense? I find references to doing it via config.xml, but dont find a way to apply these changes.

    Thanks.

    1 Reply Last reply Reply Quote 0
    • G Offline
      GruensFroeschli
      last edited by Oct 21, 2008, 3:45 PM

      download the config.xml,
      modify it,
      restore it.

      pfSense will reboot with the new config.xml –> it applies your changes.

      We do what we must, because we can.

      Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

      1 Reply Last reply Reply Quote 0
      • N Offline
        nocer
        last edited by Oct 21, 2008, 9:09 PM

        Hello,

        Or, even modify /etc/inc/services.inc to include your entry, then Status>Filter Reload, reboot the box of course better.

        cheers,

        1 Reply Last reply Reply Quote 0
        • M Offline
          master_fungul
          last edited by Mar 5, 2009, 4:31 AM

          Hi there,

          I'm getting a similar problem with a cron job I have setup and each time the embedded device reboots it will overwrite the crontab back to default.

          This may be a crappy question to ask, but it looks as though there are a few crontab entries in the config.xml file under each . Why don't these show up and would I expect my to not show up when i run crontab -l because it's running from somewhere else.

          Thanks

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
            This community forum collects and processes your personal information.
            consent.not_received