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

    Daily wake-up routine not working after update

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    91
    13.4k
    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
      altitudehack @Tom Elliott
      last edited by

      @tom-elliott Interesting. I’m just using a single node so guessing any communication between apache & the WoL function would remain internal to the fogserver.

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

        @altitudehack yes. But if it’s redirected at all, the request would lose the MAC address

        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

        A 1 Reply Last reply Reply Quote 0
        • A
          altitudehack @Tom Elliott
          last edited by

          @tom-elliott I’m not very familiar with this part of the system, but it does look like it is redirected to php-fpm:

          <VirtualHost *:80>
              <FilesMatch "\.php$">
                  SetHandler "proxy:fcgi://127.0.0.1:9000/"
              </FilesMatch>
              KeepAlive Off
              ServerName [privateIP]
              ServerAlias fog.my.domain.com
              ServerAlias fogserver.domain.com
              DocumentRoot /var/www/html/
              <Directory /var/www/html/fog/>
                  DirectoryIndex index.php index.html index.htm
              </Directory>
              RewriteEngine On
              RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
              RewriteRule .* - [F]
              RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
              RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-d
              RewriteRule ^/fog/(.*)$ /fog/api/index.php [QSA,L]
          </VirtualHost>
          
          A 1 Reply Last reply Reply Quote 0
          • P
            Petěrko
            last edited by

            @altitudehack
            Hi again,
            Apache+PHP are creating WOL packets. We had problems with HTTPS on. Now (1.5.9.78) Scheduled and Power Tasks are working. I am on Debian 10.

            I always reboot fogserver after dev-branch upgrade and all services are running properly as far as I know.

            I kept Tasks from MASTER before fog upgrade and fogscheduler picked them up with no hiccup (after restart).

            Peter

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

              Confirmed that WoL did not work this morning using the PowerManagement Scheduled WOL technique. Will update to the latest and give 'er another go.

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

                @Tom-Elliott Something’s odd. I wanted to start fresh, so opened up mariadb, selected the fog database and executed TRUNCATE TABLE powerManagement, then went through the GUI to Tasks --> Scheduled Tasks and deleted the power management task through that interface as well. Upgraded to the latest, rebooted the server, created a new task via Groups > group > Basic tasks > Advanced > Wake-up for 6:15am weekdays by using the following settings:
                create_task.png
                Then I went to Tasks > Scheduled tasks to view it and it looks like it’s set to run at 6:15a today:
                view_task.png
                But checking the scheduler logs, it somehow got 6am May 1st?

                /var/log/fog/fogscheduler.log
                
                [04-29-21 6:08:05 am] 
                ==================================
                === ==== ===== ====
                === ========= == === == ===
                === ======== ==== == ==== ===
                === ======== ==== == =========
                === ==== ==== == =========
                === ======== ==== == === ===
                === ======== ==== == ==== ===
                === ========= == === == ===
                === ========== ===== ====
                ==================================
                ===== Free Opensource Ghost ======
                ==================================
                ============ Credits =============
                = https://fogproject.org/Credits =
                ==================================
                == Released under GPL Version 3 ==
                ==================================
                
                
                [04-29-21 6:08:05 am] Interface Ready with IP Address: privateIP
                [04-29-21 6:08:05 am] Interface Ready with IP Address: 127.0.0.1
                [04-29-21 6:08:05 am] Interface Ready with IP Address: 127.0.1.1
                [04-29-21 6:08:05 am] Interface Ready with IP Address: fog.my.domain.com
                [04-29-21 6:08:05 am] * Starting TaskScheduler Service
                [04-29-21 6:08:05 am] * Checking for new items every 60 seconds
                [04-29-21 6:08:05 am] * Starting service loop
                [04-29-21 6:08:05 am] * 20 tasks found.
                [04-29-21 6:08:05 am] * 0 scheduled task(s) to run.
                [04-29-21 6:08:05 am] * 20 power management task(s) to run.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:08:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:08:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * 20 tasks found.
                [04-29-21 6:09:05 am] * 0 scheduled task(s) to run.
                [04-29-21 6:09:05 am] * 20 power management task(s) to run.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:09:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:09:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * 20 tasks found.
                [04-29-21 6:10:05 am] * 0 scheduled task(s) to run.
                [04-29-21 6:10:05 am] * 20 power management task(s) to run.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:10:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:10:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * 21 tasks found.
                [04-29-21 6:11:05 am] * 1 scheduled task(s) to run.
                [04-29-21 6:11:05 am] * 20 power management task(s) to run.
                [04-29-21 6:11:05 am] * Scheduled Task run time: Thu, 29 Apr 2021 06:15:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619694900
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:11:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:11:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * 21 tasks found.
                [04-29-21 6:12:05 am] * 1 scheduled task(s) to run.
                [04-29-21 6:12:05 am] * 20 power management task(s) to run.
                [04-29-21 6:12:05 am] * Scheduled Task run time: Thu, 29 Apr 2021 06:15:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619694900
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:12:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:12:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * 21 tasks found.
                [04-29-21 6:13:05 am] * 1 scheduled task(s) to run.
                [04-29-21 6:13:05 am] * 20 power management task(s) to run.
                [04-29-21 6:13:05 am] * Scheduled Task run time: Thu, 29 Apr 2021 06:15:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619694900
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:13:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:13:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * 21 tasks found.
                [04-29-21 6:14:05 am] * 1 scheduled task(s) to run.
                [04-29-21 6:14:05 am] * 20 power management task(s) to run.
                [04-29-21 6:14:05 am] * Scheduled Task run time: Thu, 29 Apr 2021 06:15:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619694900
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:14:05 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:14:05 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:15:05 am] * 21 tasks found.
                [04-29-21 6:15:05 am] * 1 scheduled task(s) to run.
                [04-29-21 6:15:05 am] * 20 power management task(s) to run.
                [04-29-21 6:15:05 am] * Scheduled Task run time: Thu, 29 Apr 2021 06:15:00 -0500
                [04-29-21 6:15:05 am] * This is a cron style task that should run at: 1619694900
                [04-29-21 6:15:05 am] * Found a scheduled task that should run.
                [04-29-21 6:15:05 am] 		 - Is a group based task.
                [04-29-21 6:15:05 am] 		 - Unicaset task found!
                [04-29-21 6:15:05 am] 		 - Group Desktop Computers for Work from Home
                [04-29-21 6:15:06 am] 		 - Task started for group Desktop Computers for Work from Home!
                [04-29-21 6:15:06 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:15:06 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:15:06 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:15:06 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:15:06 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:15:06 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:15:06 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:15:06 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:15:06 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:15:06 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:15:06 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:15:06 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:15:06 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:15:06 am] * This is a cron style task that should run at: 1619866800.
                [04-29-21 6:15:06 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                [04-29-21 6:15:06 am] * This is a cron style task that should run at: 1619866800.
                

                And no, the computers did not wake up.
                Actually I think it did fire, but not certain when? I’ll have to test it again.

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

                  @altitudehack said in Daily wake-up routine not working after update:

                  1619866800

                  Can you verify the timezone is configured for your environment (appropriately?)

                  FOG Settings -> FOG_TZ_INFO

                  If you make a change restart the FOG Services please.

                  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

                  A 1 Reply Last reply Reply Quote 0
                  • A
                    altitudehack @Tom Elliott
                    last edited by

                    @tom-elliott well that’s interesting. It was set to UTC. I was going to verify that I had it set properly in php and see two versions enabled:

                    [Cent-7:root@fog ~]# php -v
                    PHP 7.4.18 (cli) (built: Apr 27 2021 14:35:46) ( NTS )
                    Copyright (c) The PHP Group
                    Zend Engine v3.4.0, Copyright (c) Zend Technologies
                    [Cent-7:root@fog ~]# php-fpm -v
                    PHP 7.4.18 (fpm-fcgi) (built: Apr 27 2021 14:35:46)
                    Copyright (c) The PHP Group
                    Zend Engine v3.4.0, Copyright (c) Zend Technologies
                    

                    Should one of these be removed?

                    It is configured in php.ini:
                    date.timezone = America/Chicago
                    I’ll set it in FOG, too.

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

                      @altitudehack The main one to worry about is the one for FOG. While it doesn’t hurt to set it everywhere else either.

                      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

                      A 1 Reply Last reply Reply Quote 0
                      • A
                        altitudehack @Tom Elliott
                        last edited by

                        @tom-elliott t’was working before the update! 🙂

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

                          @altitudehack Can you clarify?

                          What was working before the update? I know you’ve had to update multiple times, but that was because there was a problem that you reported.

                          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

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            altitudehack @Tom Elliott
                            last edited by

                            @tom-elliott I just meant that before whatever caused the wake-up task(s) to stop (presumably an update prior to mid-March), I also did not have the FOG timezone set, and it was waking them up at the expected time. Which is kinda weird when I think about it…maybe it was waking them up five hours early? No one would have noticed if it was.

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

                              @altitudehack That would be my thought. I’m guessing the logs look more normalized now?

                              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

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                altitudehack @Tom Elliott
                                last edited by

                                @tom-elliott Looks like the time/date is still confused:

                                [04-30-21 8:06:09 am] * 21 tasks found.
                                [04-30-21 8:06:09 am] * 1 scheduled task(s) to run.
                                [04-30-21 8:06:09 am] * 20 power management task(s) to run.
                                [04-30-21 8:06:09 am] * Scheduled Task run time: Mon, 03 May 2021 06:15:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1620040500
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:06:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:06:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * 21 tasks found.
                                [04-30-21 8:07:09 am] * 1 scheduled task(s) to run.
                                [04-30-21 8:07:09 am] * 20 power management task(s) to run.
                                [04-30-21 8:07:09 am] * Scheduled Task run time: Mon, 03 May 2021 06:15:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1620040500
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                [04-30-21 8:07:09 am] * Power Management Task run time: Sat, 01 May 2021 06:00:00 -0500
                                [04-30-21 8:07:09 am] * This is a cron style task that should run at: 1619866800.
                                
                                Tom ElliottT 1 Reply Last reply Reply Quote 0
                                • Tom ElliottT
                                  Tom Elliott @altitudehack
                                  last edited by Tom Elliott

                                  @altitudehack What’s the output of your powerManagement table?

                                  SELECT * FROM powerManagement LIMIT 1 \G

                                  I just want to see what entries are being seen, so I could hopefully narrow down where the issue is with putting in a new cron.

                                  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

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    altitudehack @Tom Elliott
                                    last edited by

                                    @tom-elliott

                                    MariaDB [fog]> SELECT * FROM powerManagement LIMIT 1 \G
                                    *************************** 1. row ***************************
                                          pmID: 1
                                      pmHostID: 14
                                         pmMin: 0
                                        pmHour: 6
                                         pmDom: 1-5
                                       pmMonth: *
                                         pmDow: *
                                      pmAction: wol
                                    pmOndemand: 0
                                    1 row in set (0.000 sec)
                                    

                                    So it looks like I mixed up dow & dom, explaining the May 1 schedule. It showed a scheduled start time of 2021-05-03 06:15.
                                    I deleted the entry from tasks > scheduled tasks, but it still returns the above. What’s the best way to purge this?

                                    Tom ElliottT 2 Replies Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @altitudehack
                                      last edited by

                                      @altitudehack I’m working to fix the entry points.

                                      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 1
                                      • Tom ElliottT
                                        Tom Elliott @altitudehack
                                        last edited by

                                        @altitudehack So I created a vm and ran an installation using the latest version of dev-branch (as you are.)

                                        Can you please try the following steps?

                                        mv /var/www/fog{,_orig}
                                        mv /var/www/html/fog{,_orig}
                                        

                                        Then rerun the installation. I’m only asking because creating a group and applying a Power Management group properly configured the environment for me.

                                        MariaDB [fog]> select * from powerManagement \G
                                        *************************** 1. row ***************************
                                              pmID: 1
                                          pmHostID: 1
                                             pmMin: 15
                                            pmHour: 6
                                             pmDom: *
                                           pmMonth: *
                                             pmDow: 1-5
                                          pmAction: wol
                                        pmOndemand: 0
                                        

                                        and the scheduled task

                                        
                                        MariaDB [fog]> select * from scheduledTasks\G
                                        *************************** 1. row ***************************
                                                 stID: 1
                                               stName: Wake-Up Task
                                               stDesc:
                                               stType: C
                                         stTaskTypeID: 14
                                             stMinute: 15
                                               stHour: 6
                                                stDOM: *
                                              stMonth: *
                                                stDOW: 1-5
                                            stIsGroup: 1
                                        stGroupHostID: 1
                                            stImageID: 0
                                           stShutDown:
                                             stOther1:
                                             stOther2: -1
                                             stOther3: fog
                                             stOther4: 1
                                             stOther5:
                                           stDateTime: 0
                                             stActive: 1
                                        1 row in set (0.000 sec)

                                        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

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

                                          @altitudehack The clear current tasks run the following:

                                          truncate table powerManagement;
                                          truncate table scheduledTasks;
                                          

                                          This will restart both tables to ID of 1, but hopefully after this you will be good to go.

                                          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 1
                                          • A
                                            altitudehack @Tom Elliott
                                            last edited by altitudehack

                                            @tom-elliott Sorry I’ve been quiet, because it had been working 🙂

                                            However this morning it looks like it did not fire. It’s after 8am here and there’s no entry for these two at 6am on the morning of 05-06:

                                            [Cent-7:root@fog ~]# grep stacy /var/log/fog/fogscheduler.log 
                                            [05-01-21 6:00:54 am]  | Task sent to stacy-pc
                                            [05-02-21 6:00:44 am]  | Task sent to stacy-pc
                                            [05-03-21 6:00:36 am]  | Task sent to stacy-pc
                                            [05-04-21 6:00:27 am]  | Task sent to stacy-pc
                                            [05-05-21 6:00:18 am]  | Task sent to stacy-pc
                                            
                                            [Cent-7:root@fog ~]# grep luke /var/log/fog/fogscheduler.log 
                                            [05-01-21 6:00:54 am]  | Task sent to luke-pc
                                            [05-02-21 6:00:44 am]  | Task sent to luke-pc
                                            [05-03-21 6:00:35 am]  | Task sent to luke-pc
                                            [05-04-21 6:00:27 am]  | Task sent to luke-pc
                                            [05-05-21 6:00:18 am]  | Task sent to luke-pc
                                            

                                            I ran your mv commands and re-ran the installer.
                                            Then I get 21 rows of this:

                                            MariaDB [fog]> select * from powerManagement \G
                                            *************************** 1. row *************************** 
                                                  pmID: 1              
                                              pmHostID: 14                                                
                                                 pmMin: 0        
                                                pmHour: 6                                                  
                                                 pmDom: 1-5
                                               pmMonth: *
                                                 pmDow: *
                                              pmAction: wol
                                            pmOndemand: 0
                                            *************************** 2. row ***************************
                                                  pmID: 2
                                              pmHostID: 26
                                                 pmMin: 0
                                                pmHour: 6
                                                 pmDom: 1-5
                                               pmMonth: *
                                                 pmDow: *
                                              pmAction: wol
                                            pmOndemand: 0
                                            ...
                                            ...
                                            ...
                                            *************************** 21. row ***************************
                                                  pmID: 21
                                              pmHostID: 36
                                                 pmMin:
                                                pmHour:
                                                 pmDom:
                                               pmMonth:
                                                 pmDow:
                                              pmAction: reboot
                                            pmOndemand: 1
                                            21 rows in set (0.000 sec)
                                            

                                            and:

                                            MariaDB [fog]> select * from scheduledTasks\G
                                            *************************** 1. row ***************************
                                                     stID: 8 
                                                   stName: Wake-Up Task
                                                   stDesc:
                                                   stType: C
                                             stTaskTypeID: 14
                                                 stMinute: 0
                                                   stHour: 5
                                                    stDOM: * 
                                                  stMonth: *
                                                    stDOW: 1-5
                                                stIsGroup:
                                            stGroupHostID: 49
                                                stImageID: 0  
                                               stShutDown:
                                                 stOther1:
                                                 stOther2: -1        
                                                 stOther3: fog
                                                 stOther4: 1                                                                                                                                         
                                                 stOther5:                                                                                                                                           
                                               stDateTime: 0
                                                 stActive: 1
                                            *************************** 2. row ***************************
                                                     stID: 5
                                                   stName: Single Snapin Task
                                                   stDesc:
                                                   stType: S
                                             stTaskTypeID: 13
                                                 stMinute:
                                                   stHour:
                                                    stDOM:
                                                  stMonth:
                                                    stDOW:
                                                stIsGroup:
                                            stGroupHostID: 36
                                                stImageID: 0
                                               stShutDown:
                                                 stOther1:
                                                 stOther2: 13
                                                 stOther3: fog
                                                 stOther4:
                                                 stOther5:
                                               stDateTime: 1618063200
                                                 stActive: 0
                                            2 rows in set (0.001 sec)
                                            
                                            A 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 4 / 5
                                            • First post
                                              Last post

                                            266

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project