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

    Can't schedule snapin task

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    5
    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.
    • S
      sysadmininstalls
      last edited by

      If we attempt to schedule a snapin task, it refuses saying the it is in the past.
      [CENTER][SIZE=16px][FONT=Ubuntu][COLOR=#ff0000]Failed to create deployment tasks for the following Hosts[/COLOR][/FONT][/SIZE][/CENTER]
      [SIZE=16px][FONT=Ubuntu][COLOR=#ff0000][CENTER] [/CENTER][/COLOR][/FONT][/SIZE]
      [LIST]
      [*]FJQXNM1: Scheduled date is in the past. Date: 2015/20/02 12:27
      [/LIST]
      The format changes from YYYY/MM/DD to YYYY/DD/MM as you see in the error.
      I tested this by scheduling a job for the 3rd of March which works fine. Meaning that the date format changing between selection and actual scheduling is the problem.

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

        fog version?

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

        1 Reply Last reply Reply Quote 0
        • S
          sysadmininstalls
          last edited by

          1.2.0 on Centos 5.11

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

            Your problem? Apache date.timezone is not set properly. If you’re in the eastern half of the world, the date you were trying to “start” the task based on the time “apache” thinks it is is in the future and things would work. But my guess is you’re on the western part of the world and therefore your start time is past the time it thinks it actually is.

            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
            • S
              sysadmininstalls
              last edited by

              Thanks, turns out restarting apache was not enough to make it work. Reboot solved the issue.

              While the change in format was not the cause, it sure as heck looks confusing.

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

              199

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project