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

    Broken 'at' command

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 1.7k 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.
    • F
      firestar
      last edited by

      Hello,
      I've noticed that 'at' command seems to be broken in pfSense builds, latest one included.
      According to the official FreeBSD Man Pages, the 'at' command is based on several components:

      IMPLEMENTATION NOTES
           Note that at is implemented through the cron(8) daemon by calling
           atrun(8) every five minutes.  This implies that the granularity of at
           might not be optimal for every deployment.  If a finer granularity is
           needed, the system crontab at /etc/crontab needs to be changed.
      

      Both atrun and the entry in /etc/crontab are missing, hence the 'at' command doesn't carry out any tasks.
      Can be restored in a CVS snapshot, so the next official RC will be fixed?
      I also wrote on the mailing-list some time ago, but I received no answer about it. I need it. ::)

      Thank you! ;)

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        atrun is there.
        /usr/libexec/atrun

        You just need to add a cron entry to your config.xml to run it.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.