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

    Cron seconds setting

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 3 Posters 406 Views 3 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.
    • ahmetakkayaA Offline
      ahmetakkaya
      last edited by

      how to set seconds

      sample

      23:59:45

      45 seconds?

      GertjanG fireodoF 2 Replies Last reply Reply Quote 0
      • GertjanG Offline
        Gertjan @ahmetakkaya
        last edited by

        @ahmetakkaya
        Cron is minute based.

        Launch a script at 23:59:00 that sleeps 45 seconds and then executes your task on the second script line.

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

        1 Reply Last reply Reply Quote 1
        • fireodoF Offline
          fireodo @ahmetakkaya
          last edited by

          @ahmetakkaya said in Cron seconds setting:

          how to set seconds

          Cronjob cannot seconds. Here is a possible solution:
          Cronjob seconds
          If you do a search you might find some more ...

          Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
          SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
          pfsense 2.8.0 CE
          Packages: Apcupsd, Cron, Iftop, Iperf, LCDproc, Nmap, pfBlockerNG, RRD_Summary, Shellcmd, Snort, Speedtest, System_Patches.

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