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

problem with delayed tasks

Scheduled Pinned Locked Moved
FOG Problems
3
8
1.6k
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.
  • R
    Ric41
    last edited by Jan 5, 2017, 3:05 PM

    Hi,
    I’m testing fog since few days. Il have a problem with delayed tasks. They don’t start automatically. In this afternoon, i create for a pc a download task and a wake up task at the same time. Dyue to the fact the pc doesn’t start, i powered it on, and go to the pxe menu, but the task doesn’t start. What to do in the fog pxe menu to start the task ? May the pc be started for the download to start ?

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Wayne Workman Jan 5, 2017, 8:17 PM Jan 6, 2017, 2:16 AM

      Make sure the time on your server is correct. Make sure the timezone on the server in the OS is correct, make sure the timezone in the web interface is correct.

      You didn’t share what OS your fog server is running on, so I couldn’t offer you any exact commands for setting the time in the OS. But you can set your PHP timezone in the web interface at FOG Configuration -> FOG Settings -> General Settings -> FOG_TZ_INFO

      Also look at your logs inside of FOG Configuration -> Log Viewer -> Scheduler

      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
      • R
        Ric41
        last edited by Jan 6, 2017, 8:53 AM

        Sorry, i use fog 1.20 on a debian 8 and php 5.6 server.
        I already verify the time, that is correct. The timezone wasn’t defined, but the timezone taken by php was correct. I don’t have any TZ_INFO setting in fog, but the launch time of the instant tasks is correct in fog.

        W 1 Reply Last reply Jan 7, 2017, 7:00 AM Reply Quote 0
        • W
          Wayne Workman @Ric41
          last edited by Jan 7, 2017, 7:00 AM

          @Ric41 debian 8 will run fog 1.3.0 nicely. Please do me and you a favor and upgrade to 1.3.0.

          You can follow official instructions for this or grab the latest development version via wiki.fogproject.org and searching for “upgrade to trunk”

          With you being new to fog, there is no reason why you shouldn’t be running the latest version.

          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/

          R 1 Reply Last reply Jan 9, 2017, 9:23 AM Reply Quote 0
          • R
            Ric41 @Wayne Workman
            last edited by Jan 9, 2017, 9:23 AM

            @Wayne-Workman said in problem with delayed tasks:

            With you being new to fog, there is no reason why you shouldn’t be running the latest version.

            because i installed fog before christmas

            T 1 Reply Last reply Jan 9, 2017, 9:46 AM Reply Quote 0
            • T
              Tom Elliott @Ric41
              last edited by Jan 9, 2017, 9:46 AM

              @Ric41 If you absolutely must use 1.2.0, you may find better luck by editing the /etc/php.ini file (I believe it is under /etc/php5/php.ini for Debian).

              Look for the ;date.timezone = entry

              Remove the ; from the line and change for your appropriate timezone. For example:

              If you live in New York, you would have an entry like:
              date.timezone = America/New_York

              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
              • R
                Ric41
                last edited by Jan 9, 2017, 9:50 AM

                i already have set the timezone. I’ll update fog in the day

                T 1 Reply Last reply Jan 9, 2017, 9:59 AM Reply Quote 0
                • T
                  Tom Elliott @Ric41
                  last edited by Jan 9, 2017, 9:59 AM

                  @Ric41 Once the time is updated, the services have no clue until they are restarted.

                  service FOGMulticastManager restart
                  service FOGScheduler restart
                  service FOGImageReplicator restart
                  

                  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
                  • 1 / 1
                  1 / 1
                  • First post
                    7/8
                    Last post

                  211

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project