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

    cron job output redirect - syntax?

    Scheduled Pinned Locked Moved General pfSense Questions
    2 Posts 2 Posters 123 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.
    • J
      jt
      last edited by jt

      trying to get a cron job working with output redirect.
      tried this, but so far without success. can anyone tell me what the correct syntax is, please? the job runs every minute, but the logfile doesn't get updated.
      the job is a sh script.
      thx

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        You want to redirect to /dev/null? Or to the system log?

        Steve

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