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

2 tasks for the same host not possible?

Scheduled Pinned Locked Moved
FOG Problems
3
7
607
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.
  • S
    seppim
    last edited by Dec 15, 2020, 4:33 PM

    Hello,

    I want to restart a group of PC´s for a new deployment or other.

    Here my Problem:
    I add a snapin to restart as a script. When I add this to the host, he restart in 1min … its working.

    But I want before set a task for the PXE boot … but when I add later the snapin task, he delete the previous boot task.

    Is it not possible to add more tasks to one host?

    Thank you!

    T 1 Reply Last reply Dec 15, 2020, 4:50 PM Reply Quote 0
    • T
      Tom Elliott @seppim
      last edited by Dec 15, 2020, 4:50 PM

      @seppim If you have a specific snapin that needs to be run on a machine, but then you have a PXE type task you need to run (such as deploy), I guess I don’t understand the point?

      No you cannot have 2 tasks for the same host active at the same time. The only, kind of, exception is specific to snapin tasks. You can schedule multiple snapin tasks at one time. (though it has been a while.)

      If you need the snapin task to run after the pxe process completes, why not just add the snapin to that host. When you create a deploy task, it will automatically queue the snapin tasks for you once that previous task completes.

      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

      S 1 Reply Last reply Dec 15, 2020, 4:54 PM Reply Quote 0
      • S
        seppim @Tom Elliott
        last edited by Dec 15, 2020, 4:54 PM

        @tom-elliott Hello Tom,

        unfortunately I need first the snapin and then the pxe.

        Many PC´s are running and I don’t want to go to each and power down.

        I thought I could force a restart and when he boot he do the other task

        T 1 Reply Last reply Dec 15, 2020, 5:31 PM Reply Quote 0
        • T
          Tom Elliott @seppim
          last edited by Dec 15, 2020, 5:31 PM

          @seppim If you have the FOG client installed on the machine, you don’t need a snapin task to tell the machine to reboot. The fog client will do that automatically for you.

          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

          S 1 Reply Last reply Dec 15, 2020, 6:53 PM Reply Quote 0
          • S
            seppim @Tom Elliott
            last edited by Dec 15, 2020, 6:53 PM

            @tom-elliott hmmm … yes I have … you mean I just need to start the PXE task? I did not recognize that the host made automatic a reboot 🙂 Maybe I need wait longer?

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Dec 15, 2020, 7:15 PM

              @seppim Yes, with the fog-client installed and working the PCs do get a restart signal. Should happen within 5 minutes! If it does not then you need to take a look at the fog.log file to see why it does not reboot.

              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

              S 1 Reply Last reply Dec 15, 2020, 7:38 PM Reply Quote 0
              • S
                seppim @Sebastian Roth
                last edited by Dec 15, 2020, 7:38 PM

                @sebastian-roth great, thank you!

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

                231

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project