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

Day of week not accepted on Cron package

General pfSense Questions
4
8
280
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.
  • E
    eduardomozart
    last edited by Mar 14, 2025, 5:39 PM

    Hello,
    I was unable to found the repository of Cron package, so I'm reporting it here.
    I was unable to use "wed" to specify Wednesday as "Day of the Week", I had to use it integer denomination (3). But the tip into the fields states that names are supported: The day(s) of the week on which the command will be executed. (0-7, 7=Sun or use names, ranges, or divided, *=all)
    It's also stated on FreeBSD documentation it's UNIX cron format as names are supported: https://man.freebsd.org/cgi/man.cgi?crontab%285%29

    S G 2 Replies Last reply Mar 14, 2025, 8:44 PM Reply Quote 0
    • S
      SteveITS Galactic Empire @eduardomozart
      last edited by Mar 14, 2025, 8:44 PM

      @eduardomozart not near a router atm but you can file a bug report at pfSense.redmine.org.

      Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
      When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
      Upvote 👍 helpful posts!

      E 1 Reply Last reply Mar 14, 2025, 8:49 PM Reply Quote 0
      • E
        eduardomozart @SteveITS
        last edited by Mar 14, 2025, 8:49 PM

        @SteveITS Hello, thank you. The correct domain is "redmine.pfsense.org". I'll open a bug report there.

        S 1 Reply Last reply Mar 14, 2025, 9:19 PM Reply Quote 0
        • S
          SteveITS Galactic Empire @eduardomozart
          last edited by Mar 14, 2025, 9:19 PM

          @eduardomozart oops sorry

          Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
          When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
          Upvote 👍 helpful posts!

          1 Reply Last reply Reply Quote 0
          • E
            eduardomozart
            last edited by Apr 2, 2025, 9:50 PM

            It has been fixed into https://redmine.pfsense.org/issues/16096 but not sure if a new Cron package has been released yet

            P 1 Reply Last reply Apr 3, 2025, 4:41 AM Reply Quote 0
            • P
              patient0 @eduardomozart
              last edited by Apr 3, 2025, 4:41 AM

              @eduardomozart said in Day of week not accepted on Cron package:

              It has been fixed into https://redmine.pfsense.org/issues/16096 but not sure if a new Cron package has been released yet

              I assume you read through that ticket? Their solution is to change the tip and remove the mention of "... or use names". You won't be able to use day of the week short names like 'wed'.

              One would think it should be possible to add an input validation regex to include the (sun|mon|tue|wed|thu|fri|sat) without too much work. Certainly more work than remove the tool tip though.

              1 Reply Last reply Reply Quote 0
              • G
                Gertjan @eduardomozart
                last edited by Apr 7, 2025, 9:14 AM

                @eduardomozart said in Day of week not accepted on Cron package:

                (0-7, 7=Sun or use names, ranges, or divided, *=all)

                What happens if the pfSense language isn't 'EN' or 'US' ?

                @patient0 said in Day of week not accepted on Cron package:

                input validation regex to include the (sun|mon|tue|wed|thu|fri|sat)

                would work fine for some, not most of us ^^

                No "help me" PM's please. Use the forum, the community will thank you.
                Edit : and where are the logs ??

                P 1 Reply Last reply Apr 7, 2025, 9:30 AM Reply Quote 0
                • P
                  patient0 @Gertjan
                  last edited by Apr 7, 2025, 9:30 AM

                  @Gertjan said in Day of week not accepted on Cron package:

                  would work fine for some, not most of us ^^

                  I agree but that is what cron natively supports.

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