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

Unable to run jobs using the at command

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 2 Posters 237 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.
  • S
    sparkman123
    last edited by Feb 23, 2020, 12:43 AM

    I am trying to get anything to execute using the "at" command. I am able to schedule jobs

    at now < runner.sh
    

    where the contents of runner is a simple "touch ijustran"
    When I run my at command, I get output that "Job X will be executed using /bin/sh" and I can see it queued for execution when I execute "at -l" but it just doesn't seem to do anything.

    Are there any config settings I need to change prior to using at?

    1 Reply Last reply Reply Quote 0
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Feb 24, 2020, 8:02 PM

      We don't include all of the necessary components for at to fully function out of the box.

      The binaries are there, but notably the cron job is not present. I can't remember what else might be missing, though.

      You could install the Cron package and then add an entry for this:

      */5	*	*	*	*	root	/usr/libexec/atrun
      

      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
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received