ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Fedora 30 Server Cron not included by default

    Scheduled Pinned Locked Moved IT Discussion
    cronfedora 30server
    15 Posts 5 Posters 1.2k 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.
    • JaredBuschJ
      JaredBusch @DustinB3403
      last edited by

      @DustinB3403 said in Fedora 30 Server Cron not included by default:

      @JaredBusch said in Fedora 30 Server Cron not included by default:

      @DustinB3403 said in Fedora 30 Server Cron not included by default:

      So maybe I downloaded a mini iso or something, but cron isn't included by default and needs to be installed.

      Can anyone confirm this or am I just blind?

      Because you are supposed to use systemd timers.

      Well I guess I'm going to have to look into that and see how those operate. Thanks for the quick reply.

      https://www.mangolassi.it/tags/systemd timers

      DustinB3403D 1 Reply Last reply Reply Quote 0
      • DustinB3403D
        DustinB3403 @JaredBusch
        last edited by

        @JaredBusch Thanks.

        I just have to figure this out now.

        black3dynamiteB 1 Reply Last reply Reply Quote 0
        • black3dynamiteB
          black3dynamite @DustinB3403
          last edited by

          @DustinB3403 said in Fedora 30 Server Cron not included by default:

          @JaredBusch Thanks.

          I just have to figure this out now.

          For now install cron.
          dnf install cronie

          But if you continue wanted to use Fedora Server, you going to start learning systemd timers.

          DustinB3403D 1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403 @black3dynamite
            last edited by

            @black3dynamite said in Fedora 30 Server Cron not included by default:

            @DustinB3403 said in Fedora 30 Server Cron not included by default:

            @JaredBusch Thanks.

            I just have to figure this out now.

            For now install cron.
            dnf install cronie

            But if you continue wanted to use Fedora Server, you going to start learning systemd timers.

            Yeah I know I can install cron but if systemd timers is what is modern I'd prefer to move to it.

            Just need to figure it out - never looked at it before.

            1 Reply Last reply Reply Quote 0
            • DustinB3403D
              DustinB3403
              last edited by

              Also why would someone downvote a question, looking at your @JaredBusch.

              RojoLocoR 1 Reply Last reply Reply Quote 0
              • RojoLocoR
                RojoLoco @DustinB3403
                last edited by

                @DustinB3403 said in Fedora 30 Server Cron not included by default:

                Also why would someone downvote a question, looking at your @JaredBusch.

                Whose @JaredBusch ? I didn't think he was owned by anyone...

                JaredBuschJ 1 Reply Last reply Reply Quote 0
                • JaredBuschJ
                  JaredBusch @RojoLoco
                  last edited by

                  @RojoLoco said in Fedora 30 Server Cron not included by default:

                  @DustinB3403 said in Fedora 30 Server Cron not included by default:

                  Also why would someone downvote a question, looking at your @JaredBusch.

                  Whose @JaredBusch ? I didn't think he was owned by anyone...

                  Youtube Video

                  IRJI 1 Reply Last reply Reply Quote -1
                  • IRJI
                    IRJ @JaredBusch
                    last edited by

                    @JaredBusch said in Fedora 30 Server Cron not included by default:

                    @RojoLoco said in Fedora 30 Server Cron not included by default:

                    @DustinB3403 said in Fedora 30 Server Cron not included by default:

                    Also why would someone downvote a question, looking at your @JaredBusch.

                    Whose @JaredBusch ? I didn't think he was owned by anyone...

                    Youtube Video

                    πŸ€£πŸ€£πŸ€£πŸ€£πŸ€£πŸ€£πŸ€£πŸ€£πŸ€£πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜‚πŸ€£πŸ€£πŸ€£πŸ€£πŸ€£

                    1 Reply Last reply Reply Quote -1
                    • IRJI
                      IRJ
                      last edited by IRJ

                      Me get down voted πŸ˜‚πŸ˜‚πŸ˜‚πŸ˜­πŸ˜­πŸ˜­πŸ€£πŸ€£πŸ€£πŸ˜œπŸ˜œ

                      maxresdefault.jpg

                      1 Reply Last reply Reply Quote -1
                      • DustinB3403D
                        DustinB3403
                        last edited by DustinB3403

                        So in setting up an every 4 hours timer should it look like the below?

                        	[Unit]
                           	Description=Runs rclone script every 4 hours
                            
                        	[Timer]
                           	OnCalendar=*-*-* */4:0:0
                           	Unit=rclone.service
                            
                        	[Install]
                           	WantedBy=multi-user.target
                        

                        No that doesn't work . . .

                        1 Reply Last reply Reply Quote 0
                        • DustinB3403D
                          DustinB3403
                          last edited by DustinB3403

                          	[Unit]
                             	Description=Runs rclone script every 4 hours
                              
                          	[Timer]
                             	OnCalendar=*-*-* *:00:00
                             	Unit=rclone.service
                              
                          	[Install]
                             	WantedBy=multi-user.target
                          

                          Would be every hour run the rclone.service operation, but ever hour is going to be way too often.

                          1 Reply Last reply Reply Quote 0
                          • DustinB3403D
                            DustinB3403
                            last edited by

                            Looks like adding under [Timer]

                            OnBootSec=10min
                            OnUnitActiveSec=4h
                            

                            Would do what I'm looking for, going to test.

                            1 Reply Last reply Reply Quote 0
                            • 1 / 1
                            • First post
                              Last post