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

    Fog 1.2.0 Scheduled Tasks Not Initiating

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    6
    1.3k
    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.
    • I
      ironhyde81
      last edited by

      Server
      • FOG Version: 1.2.0
      • OS: Debian 7
      Client
      • Service Version:
      • OS: Windows 7 Pro
      Description

      Hello,
      When create a a task to run “instantly” I have no problems. However, when I schedule a task for both “cron style” and “delayed” the task never leaves the scheduled tasks to the active.

      Her is what I have tried:
      I did have a problem with the timezone being GTC/UTC. At first when I scheduled a task I received an error stating the time had already passed. I corrected the necessary php files to my local time America/Denver.
      I gave the “fog” user sudo permission
      I gave the “www-data” user sudo permission

      I’ve been checking the crontab to see if there have been any entries to schedule the task, but there are never any changes.

      Also note: The default password for the user “fog” I discovered is different from the root user, and mysql password in case this is not normal.

      My question is:
      Does there have to be “sudo” at the beginning of certain commands fog is running?
      How can I check to see if the task is being created in the database?
      If so, how can I see if the database task is being sent elsewhere to run?
      Lastly, Is there a way I can manually enter the task in the crontab since the UI may not have permission or perhaps something in php is wrong?

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • JunkhackerJ
        Junkhacker Developer
        last edited by

        before diving in too deep troubleshooting this, is upgrading to the latest stable release not an option? (operating system and fog versions, if possible)

        signature:
        Junkhacker
        We are here to help you. If you are unresponsive to our questions, don't expect us to be responsive to yours.

        I 1 Reply Last reply Reply Quote 1
        • Tom ElliottT
          Tom Elliott
          last edited by Tom Elliott

          The cron tasking type and delayed tasks are not handled by Linux utilities but by a service called FOGScheduler

          The things to note: cronstyle will always be active
          Delayed will be active until their runtime has been met and occurr d.

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

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

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

          1 Reply Last reply Reply Quote 0
          • I
            ironhyde81 @Junkhacker
            last edited by

            @Junkhacker
            It is possible. That is my plan in the event I can’t solve the problem using the current versions.

            Wayne WorkmanW 1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman @ironhyde81
              last edited by Wayne Workman

              @ironhyde81 I would recommend moving to the latest version of Debian, then the latest version of FOG. This article may interest you: https://wiki.fogproject.org/wiki/index.php?title=Migrate_FOG

              I won’t be of much assistance with FOG 1.2.0, I just don’t know it well. But I can help you lots with 1.3.x

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              I 1 Reply Last reply Reply Quote 0
              • I
                ironhyde81 @Wayne Workman
                last edited by

                @Wayne-Workman
                I will build a test system using the newest versions of Debian and Fog today. I’ll post back soon with the results and maybe attempt to fix the older system later.

                Thanks

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

                187

                Online

                12.1k

                Users

                17.3k

                Topics

                155.3k

                Posts
                Copyright © 2012-2024 FOG Project