Daily wake-up routine not working after update
-
@altitudehack Yes, we have programmed the magic packet generation which then passes to the nodes. This way WOL can theoretically work across sites (if you have multiple storage nodes/groups with a centrally managed server system.)
So apache sends a URL request to each node which then generates and sends the magic packets.
-
@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.
-
@altitudehack yes. But if it’s redirected at all, the request would lose the MAC address
-
@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>
-
@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
-
Confirmed that WoL did not work this morning using the PowerManagement Scheduled WOL technique. Will update to the latest and give 'er another go.
-
@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:
Then I went to Tasks > Scheduled tasks to view it and it looks like it’s set to run at 6:15a today:
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. -
@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.
-
@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. -
@altitudehack The main one to worry about is the one for FOG. While it doesn’t hurt to set it everywhere else either.
-
@tom-elliott t’was working before the update!
-
@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.
-
@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.
-
@altitudehack That would be my thought. I’m guessing the logs look more normalized now?
-
@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.
-
@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.
-
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? -
@altitudehack I’m working to fix the entry points.
-
@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)
-
@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.