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

    schedule delayed or cron task doesn't work

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    6
    2.8k
    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.
    • F
      Florent
      last edited by

      Hi,

      I use FOG version 1.2.0 on Debian Server.
      I try to run Wake on Lan function with basic tasks -> Advanced -> Wake-up but :

      -The machines always wake up if i choose “schedule instant deployment”
      -The machines never wake up if i choose “schedule delayed deployment”
      -The machines never wake up if i choose “schedule cron-style deployment”

      In the wiki i see this :

      One thing to note about task scheduling that isn’t intuitive is that it requires an image to be associated with the host, even for non-image based tasks

      The machines have well an image associated with her.

      Have you solution ?

      Or how to debug why this is not working ?

      Regards

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

        They are most likely not starting up WHEN you want because your server time is off.

        Make sure your Apache time, Server Time, and FOG Time are set correctly.

        In 1.2.0, to change the timezone in FOG, you will need to edit some web files. (FYI, in FOG Trunk, this is done through the web UI now).

        For apache and server time, follow apache instructions and Debian instructions.

        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
        • F
          Florent
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • F
            Florent
            last edited by

            Did you know which web files in FOG ?

            I try to changing the config date.timezone in /etc/php5/cli/php.ini and /etc/php5/apache2/php.ini.
            I verify server have the good date and time (command date). He use ntp.

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

              After changing the time you need to restart the fog services on the server as well.

              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 0
              • F
                Florent
                last edited by

                Thanks !

                For information :

                In this files we are replace UTC or GMT by our timezone (http://php.net/manual/fr/timezones.europe.php)

                commons/system.php :
                lib/pages/ReportManagementPage.class.php
                lib/pages/DashboardPage.class.php :
                lib/fog/StorageNode.class.php
                service/blame.php

                and Restart FOG services

                It’s works !

                Regards

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

                193

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project