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

    Cron Job MAIL - Status 0x0001

    Scheduled Pinned Locked Moved General pfSense Questions
    8 Posts 2 Posters 1.0k Views 2 Watching
    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 Offline
      jpvonhemel
      last edited by

      Hello,

      I setup syslog reporting for pfsense and was looking through the logs. I found something I don't quite understand. I was hoping someone could guide me through what I am seeing and if it is an issue.

      There is a CRON job that is trying to send mail every 5 minutes, but the log shows an issue. I do have mailreports installed and get a successful daily SMTP email with wan dpinger logs.

      What am I seeing here and what does the 0x0001 mean?

      Thank you,
      Jerold

      cronmail.JPG

      cronmaillog.jpg

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

        How and where does that appear in the logs on pfSense?

        1 Reply Last reply Reply Quote 0
        • J Offline
          jpvonhemel
          last edited by

          I am seeing it in this directory on a syslog server on Ubuntu. It is grouped with other logs coming from my xg-7100. The timing matches a cron job I found and pasted in the original post.

          pfsenselogdir.JPG

          1 Reply Last reply Reply Quote 0
          • J Offline
            jpvonhemel
            last edited by

            I took another look at the cron jobs on my pfsense and noticed that the job that I thought was causing these entries, was really the one I get every day at 1405. Guessing they are not coming from pfsense and have something to do with the syslog server. Since it the log file lived under the directory pfsense.localhost, I figured that is where it was coming from.

            pf_cron.JPG

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

              Ah, Ok in cron.log. And that's the only thing in cron.log? Looks like there's more in the log at the pfSense end.
              The email is in fact correctly sent?

              Steve

              1 Reply Last reply Reply Quote 0
              • J Offline
                jpvonhemel
                last edited by

                The 1405 message is correctly sent and received every day since I added mailreport package to my system. I have everything checked in pfsense, transferring to the syslog server. When I turn off syslog in pfsense, the cron log entries stop accumulating in my log server.

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jpvonhemel
                  last edited by

                  That is the only thing in the cron log, each with what looks like different process ids.

                  cronlog.JPG

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

                    You could try running that cronjob manually without the '&' and see what output it gives you.

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