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

    Fedora 30 Server Cron not included by default

    IT Discussion
    cron fedora 30 server
    5
    15
    324
    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.
    • JaredBusch
      JaredBusch @DustinB3403 last edited by

      @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.

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

        @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.

        JaredBusch 1 Reply Last reply Reply Quote -1
        • JaredBusch
          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

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

            @JaredBusch Thanks.

            I just have to figure this out now.

            black3dynamite 1 Reply Last reply Reply Quote 0
            • black3dynamite
              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.

              DustinB3403 1 Reply Last reply Reply Quote 0
              • DustinB3403
                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
                • DustinB3403
                  DustinB3403 last edited by

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

                  RojoLoco 1 Reply Last reply Reply Quote 0
                  • RojoLoco
                    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...

                    JaredBusch 1 Reply Last reply Reply Quote 0
                    • JaredBusch
                      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

                      IRJ 1 Reply Last reply Reply Quote -1
                      • IRJ
                        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
                        • IRJ
                          IRJ last edited by IRJ

                          Me get down voted 😂😂😂😭😭😭🤣🤣🤣😜😜

                          maxresdefault.jpg

                          1 Reply Last reply Reply Quote -1
                          • DustinB3403
                            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
                            • DustinB3403
                              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
                              • DustinB3403
                                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
                                • First post
                                  Last post