• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    sheduled task

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    6
    27
    12.5k
    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.
    • A
      afuente26
      last edited by

      It´s the same problem like Axel had a few month ago

      https://forums.fogproject.org/topic/4310/scheduled-tasks-are-not-starting-in-fog-1-2-0

      ch3iC 1 Reply Last reply Reply Quote 0
      • ch3iC
        ch3i Moderator @afuente26
        last edited by

        @afuente26 said:

        It´s the same problem like Axel had a few month ago

        https://forums.fogproject.org/topic/4310/scheduled-tasks-are-not-starting-in-fog-1-2-0

        Please check if Cron is running : http://www.cyberciti.biz/faq/howto-check-cronjob-is-running-not/

        Wayne WorkmanW A 2 Replies Last reply Reply Quote 1
        • Wayne WorkmanW
          Wayne Workman @ch3i
          last edited by

          @ch3i said:

          @afuente26 said:

          It´s the same problem like Axel had a few month ago

          https://forums.fogproject.org/topic/4310/scheduled-tasks-are-not-starting-in-fog-1-2-0

          Please check if Cron is running : http://www.cyberciti.biz/faq/howto-check-cronjob-is-running-not/

          Was going to suggest that earlier too (during lunch) but my laptop died 😞

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • A
            afuente26 @ch3i
            last edited by afuente26

            @afuente26

            Yes, the cronjob-service is running ;-(

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              Ensure your FOG server’s time is correct.

              Both for Apache/Web UI and the OS.

              To update the time in the web UI, you’d do that somewhere inside FOG Configuration…

              And make your local server time on the OS correct, also.

              Let us know if that helps.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              A 1 Reply Last reply Reply Quote 0
              • A
                afuente26 @Wayne Workman
                last edited by afuente26

                @afuente26

                ok. we are progressing. I´ve tested the time in a php-file (date-function) and the apache time is ok.
                But I´ve found, that nevertheless it is a time problem.

                I´ve tried the following cronjob configuracion, asuming today is the 2 june tuesday, 20:23 hour
                The scheduled task worked with exception of the hour:

                cronjob.png

                ch3iC Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                • ch3iC
                  ch3i Moderator @afuente26
                  last edited by ch3i

                  @afuente26 said:

                  @afuente26

                  ok. we are progressing. I´ve tested the time in a php-file (date-function) and the apache time is ok.
                  But I´ve found, that nevertheless it is a time problem.

                  I´ve tried the following cronjob configuracion, asuming today is the 2 june tuesday, 20:23 hour
                  The scheduled task worked with exception of the hour:

                  cronjob.png

                  You have edit your post to past your code, you can paste it in the code tags, the button “</>”

                  echo "some code"
                  
                  1 Reply Last reply Reply Quote 0
                  • Wayne WorkmanW
                    Wayne Workman
                    last edited by Wayne Workman

                    brackets and CODE and slashes work, too.

                    open bracket [

                    then CODE
                    then close bracket ]

                    then the same at the end, but with a / in front of code.

                    Like this (but remove the quotes)

                    [“CODE”]
                    some code here
                    [“/CODE”]

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                    Daily Clean Installation Results:
                    https://fogtesting.fogproject.us/
                    FOG Reporting:
                    https://fog-external-reporting-results.fogproject.us/

                    1 Reply Last reply Reply Quote 0
                    • A
                      afuente26
                      last edited by

                      the diference are two hours. I have to schedule the task two hours less.

                      I´ve also modified the timezone in the php.ini but this do not afecto the cronjob.

                      For me it´s a “good” solution.
                      Thanks to all.
                      Angel

                      ch3iC 1 Reply Last reply Reply Quote 1
                      • ch3iC
                        ch3i Moderator @afuente26
                        last edited by ch3i

                        @afuente26 said:

                        the diference are two hours. I have to schedule the task two hours less.

                        I´ve also modified the timezone in the php.ini but this do not afecto the cronjob.

                        For me it´s a “good” solution.
                        Thanks to all.
                        Angel

                        Good news;)

                        1 Reply Last reply Reply Quote 0
                        • Wayne WorkmanW
                          Wayne Workman @afuente26
                          last edited by Wayne Workman

                          @afuente26

                          ok. we are progressing. I´ve tested the time in a php-file (date-function) and the apache time is ok.

                          Not good enough.

                          You have to set your time zone in the FOG web UI. This is likely your issue.

                          You see, the Web UI is what PUTS the cron jobs into the operating system. If it has the wrong time zone set, then all jobs will be off because the settings they were set to are off.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                          Daily Clean Installation Results:
                          https://fogtesting.fogproject.us/
                          FOG Reporting:
                          https://fog-external-reporting-results.fogproject.us/

                          1 Reply Last reply Reply Quote 0
                          • A
                            afuente26
                            last edited by

                            I´m terrible sorry, but I can´t find where to change this settings…

                            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                            • Wayne WorkmanW
                              Wayne Workman @afuente26
                              last edited by

                              @afuente26 said:

                              I´m terrible sorry, but I can´t find where to change this settings…

                              FOG Configuration -> FOG Settings -> General Settings -> FOG_TZ_INFO

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                              Daily Clean Installation Results:
                              https://fogtesting.fogproject.us/
                              FOG Reporting:
                              https://fog-external-reporting-results.fogproject.us/

                              1 Reply Last reply Reply Quote 0
                              • A
                                afuente26
                                last edited by

                                I searched in configuration but there is no FOG_TZ_INFO, either in the other settings. I use the latest version of FOG.

                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @afuente26
                                  last edited by

                                  @afuente26 latest version of fog is not very helpful. What is the actual version of fog you’re running? Latest in my eyes is current trunk. I’m going to guess you’re working with 1.2.0. You will find the version in the cloud logo at the top of the GUI.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                  Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                                  Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                                  1 Reply Last reply Reply Quote 2
                                  • A
                                    afuente26
                                    last edited by afuente26

                                    Yes. It´s the 1.2.0 😉 The option to change the TZ doens´t appear…

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

                                    197

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project