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

Power Management Schedule

Scheduled Pinned Locked Moved
General Problems
powermanagement cron wol schedule
3
4
1.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.
  • E
    emryz
    last edited by Nov 27, 2018, 10:16 AM

    Hey guys!

    FOG 1.5.5. is running great, imaging works flawlessly, snapins as well. only thing i don’t get is where to find my power management schedule.

    If I create a cron-type schedule for, say, WOL an weekdays at 7am, it sure does work and boots the machines at 7am - but if i want to edit or delete this schedule it is nowhere to be found.
    Under Tasks–>scheduled tasks there is no entry.
    Under Power Management for Groups or hosts there is nothing as well.
    In screenshots of older versions (at least older UI) of fog I can see there are all jobs listed in the cron-scheduler, but this is not the case on my server.
    Is there a way to view all scheduled cron tasks?

    Thanks for any help!

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Sebastian Roth Feb 12, 2019, 1:09 AM Dec 5, 2018, 10:57 PM

      @emryz Sorry for the late reply! You should see those in the power management view of the host: web UI -> Hosts -> select one host -> Power Management tab -> scroll down. Maybe check if they are still stored in the database. From the FOG server command line run:

      shell> mysql -u root -p
      Password:
      ...
      mysql> use fog;
      ...
      mysql> SELECT * FROM powerManagement;
      

      See if that yields any results.

      Edit: Corrected my post to not confuse anyone. Got this wrong the first time I looked into it.

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

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

      1 Reply Last reply Reply Quote 0
      • R
        ragnurenson
        last edited by Jan 24, 2019, 11:00 AM

        Hi @emryz and @Sebastian-Roth .

        I have the same problem with another FOG 1.5.5. The power management task programed with cron, don’t show somewhere, but they are performed.

        I have been seeking at database, and I found them at the powerManagement table, but not at the scheduledTask. I think that is a bug.

        Hope you can see what is happen. Thx.

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth Feb 12, 2019, 1:10 AM Feb 12, 2019, 7:07 AM

          @emryz @ragnurenson From my point of view it’s all working fine. See the screenshot below. You are right that the power management task is not in the scheduledTasks table. I was on the wrong track with that when I had a brief look at this last time. As mentioned by @emryz the power management tasks show up in the same view where you schedule those for the host. See my screenshot below.

          @emryz I can imagine that some kind of AdBlock add-on in the browser could make this view disappear. We had a very strange case where one single text field was missing just because of an AdBlock add-on. Please disable these and see if it works for you.

          Note: I corrected my other post so when people come along and find this, they don’t get confused.

          laa.jpg

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

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

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

          229

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project