Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Doesn at command works?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 1.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.
    • perikoP
      periko
      last edited by

        Hi I have been trying to work with the at command, but won't see to execute the task, I just see the queue but is all.

      at now
      /root/scripts/at.sh
      Job 11 will be executed using /bin/sh

      List:

      at -l
      Date                            Owner          Queue  Job#
      Mon Dec  3 12:48:00 PST 2012    root            c      1
      Mon Dec  3 12:17:00 PST 2012    root            c      2
      Sat Mar 24 14:56:00 PST 2012    root            c      11

      If I want to delete a job:

      at -r 1
      at: c0000101587c00: Permission denied

      Jobs dir:

      /var/at/jobs(125): ls -l
      total 40
      -rw-r–r--  1 root  wheel    6 Mar 24 14:56 .SEQ
      -rw-------  1 root  wheel    0 Mar 24 12:15 .lockfile
      -rwx------  1 root  wheel  910 Mar 24 12:15 c0000101587c00
      -rwx------  1 root  wheel  910 Mar 24 12:15 c0000201587be1
      -r--------  1 root  wheel  910 Mar 24 12:16 c000030152e721
      ---------x  1 root  wheel    0 Mar 24 12:18 c000040152e723
      -r--------  1 root  wheel  901 Mar 24 12:20 c000050152e74c
      -r--------  1 root  wheel  901 Mar 24 12:21 c000060152e72c
      -r--------  1 root  wheel  901 Mar 24 12:22 c000070152e728
      -r--------  1 root  wheel  901 Mar 24 14:34 c000080152e7aa
      ---------x  1 root  wheel    0 Mar 24 14:48 c000090152e7b8
      -r--------  1 root  wheel  877 Mar 24 14:49 c0000a0152e7b9
      -rwx------  1 root  wheel  885 Mar 24 14:56 c0000b0152e7c0

      Does this command works?

      I want to run a job only once every time my pfsense machine start.

      Have other way to do it?

      Pfsense 2.0.1 nanobsd.

      Thanks.

      Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
      www.bajaopensolutions.com
      https://www.facebook.com/BajaOpenSolutions
      Quieres aprender PfSense, visita mi canal de youtube:
      https://www.youtube.com/c/PedroMorenoBOS

      1 Reply Last reply
      Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        I've never seen anyone trying to use at on pfSense, I don't think it's meant to work.

        To run something at bootup, look at the shellcmd package. It lets you setup commands to run at boot time.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
        Privacy Policy · Cookie Policy