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

sheduled task

Scheduled Pinned Locked Moved Solved
FOG Problems
6
27
12.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.
  • A
    afuente26
    last edited by afuente26 May 23, 2015, 4:56 AM May 23, 2015, 10:54 AM

    Hello,

    my instant deploymente works well, but the delay and the cron-style deployment don´t start.

    The sheduled task are created correctly, the problem is that the client doesn´t start the task. For the cronjob I use * for the blank fields and for the delay task I just select the date and hour of the calender.

    Both don´t work. Does anybody knows what I could be?

    Thanks
    Angel

    1 Reply Last reply Reply Quote 0
    • J
      Junkhacker Developer
      last edited by May 23, 2015, 3:20 PM

      have you checked that FOGScheduler is running?

      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
      • A
        afuente26
        last edited by afuente26 May 30, 2015, 5:13 AM May 30, 2015, 11:00 AM

        @Junkhacker said:

        FOGScheduler

        Hello Junkhacker,

        I run the command sudo service FOGScheduler start (debian7 64) and the service started but the cronjob still doesn´t work…

        1 Reply Last reply Reply Quote 0
        • W
          Wayne Workman
          last edited by May 31, 2015, 3:24 PM

          Can you run the troubleshooting script found here: https://forums.fogproject.org/topic/4581/let-s-make-scripts

          And see if it points anything out?

          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/

          A 1 Reply Last reply Jun 1, 2015, 3:22 PM Reply Quote 0
          • A
            afuente26 @Wayne Workman
            last edited by Jun 1, 2015, 3:22 PM

            @Wayne-Workman
            I´ve runned the script. Does it show same problem?

            Thanks
            Angel
            logfile

            • list item
            C 1 Reply Last reply Jun 1, 2015, 3:25 PM Reply Quote 0
            • C
              ch3i Moderator @afuente26
              last edited by ch3i Jun 1, 2015, 9:25 AM Jun 1, 2015, 3:25 PM

              @afuente26

              Hi,

              No status in you FOG services ?

              ----------------------Firewall status below
              ----------------------FOGMulticastManager status below
              ----------------------FOGSnapinReplicator status below
              ----------------------FOGImageReplicator status below
              ----------------------FOGScheduler status below
              

              Regards,
              Ch3i.

              A 1 Reply Last reply Jun 1, 2015, 3:47 PM Reply Quote 0
              • C
                cml Moderator
                last edited by Jun 1, 2015, 3:47 PM

                The FOG services do not have a status flag on Debian.

                iptables: unrecognized service
                Usage FOGMulticastManager {start|stop|restart}
                Usage FOGSnapinReplicator {start|stop|restart}
                Usage FOGImageReplicator {start|stop|restart}
                Usage FOGScheduler {start|stop|restart}
                

                The only way I know is to check if they are running via: ‘ps -ef | grep [F]OG’

                C 1 Reply Last reply Jun 1, 2015, 4:03 PM Reply Quote 0
                • A
                  afuente26 @ch3i
                  last edited by Jun 1, 2015, 3:47 PM

                  @ch3i said:

                  FOGMulticastManager status below

                  It saw it allready but I can´t understand it, because I´ve restarted the service manually. I can also do Multicast and so on…

                  imagelink text

                  1 Reply Last reply Reply Quote 0
                  • T
                    Tom Elliott
                    last edited by Jun 1, 2015, 3:48 PM

                    Do not (if on debian/ubuntu) restart the service.

                    You will need to run:

                    service FOG{SERVICENAME} stop
                    

                    Then you will have to start the individually.

                    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
                    • C
                      ch3i Moderator @cml
                      last edited by Jun 1, 2015, 4:03 PM

                      @cml said:

                      The FOG services do not have a status flag on Debian.

                      iptables: unrecognized service
                      Usage FOGMulticastManager {start|stop|restart}
                      Usage FOGSnapinReplicator {start|stop|restart}
                      Usage FOGImageReplicator {start|stop|restart}
                      Usage FOGScheduler {start|stop|restart}
                      

                      The only way I know is to check if they are running via: ‘ps -ef | grep [F]OG’

                      Tom had it two week ago in SVN : https://forums.fogproject.org/topic/4897/add-the-status-of-fog-services-in-the-command-service

                      1 Reply Last reply Reply Quote 0
                      • A
                        afuente26
                        last edited by Jun 1, 2015, 5:02 PM

                        The services are running, although the don´t appear in the troubleshooting script.

                        This is the screenshot

                        fog2.png

                        1 Reply Last reply Reply Quote 0
                        • A
                          afuente26
                          last edited by Jun 1, 2015, 7:07 PM

                          It´s the same problem like Axel had a few month ago

                          https://forums.fogproject.org/topic/4310/scheduled-tasks-are-not-starting-in-fog-1-2-0

                          C 1 Reply Last reply Jun 1, 2015, 7:12 PM Reply Quote 0
                          • C
                            ch3i Moderator @afuente26
                            last edited by Jun 1, 2015, 7:12 PM

                            @afuente26 said:

                            It´s the same problem like Axel had a few month ago

                            https://forums.fogproject.org/topic/4310/scheduled-tasks-are-not-starting-in-fog-1-2-0

                            Please check if Cron is running : http://www.cyberciti.biz/faq/howto-check-cronjob-is-running-not/

                            W A 2 Replies Last reply Jun 1, 2015, 9:16 PM Reply Quote 1
                            • W
                              Wayne Workman @ch3i
                              last edited by Jun 1, 2015, 9:16 PM

                              @ch3i said:

                              @afuente26 said:

                              It´s the same problem like Axel had a few month ago

                              https://forums.fogproject.org/topic/4310/scheduled-tasks-are-not-starting-in-fog-1-2-0

                              Please check if Cron is running : http://www.cyberciti.biz/faq/howto-check-cronjob-is-running-not/

                              Was going to suggest that earlier too (during lunch) but my laptop died 😞

                              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/

                              1 Reply Last reply Reply Quote 0
                              • A
                                afuente26 @ch3i
                                last edited by afuente26 Jun 2, 2015, 10:15 AM Jun 2, 2015, 5:57 AM

                                @afuente26

                                Yes, the cronjob-service is running ;-(

                                1 Reply Last reply Reply Quote 0
                                • W
                                  Wayne Workman
                                  last edited by Jun 2, 2015, 4:37 PM

                                  Ensure your FOG server’s time is correct.

                                  Both for Apache/Web UI and the OS.

                                  To update the time in the web UI, you’d do that somewhere inside FOG Configuration…

                                  And make your local server time on the OS correct, also.

                                  Let us know if that helps.

                                  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/

                                  A 1 Reply Last reply Jun 2, 2015, 6:14 PM Reply Quote 0
                                  • A
                                    afuente26 @Wayne Workman
                                    last edited by afuente26 Jun 2, 2015, 12:19 PM Jun 2, 2015, 6:14 PM

                                    @afuente26

                                    ok. we are progressing. I´ve tested the time in a php-file (date-function) and the apache time is ok.
                                    But I´ve found, that nevertheless it is a time problem.

                                    I´ve tried the following cronjob configuracion, asuming today is the 2 june tuesday, 20:23 hour
                                    The scheduled task worked with exception of the hour:

                                    cronjob.png

                                    C W 2 Replies Last reply Jun 2, 2015, 6:21 PM Reply Quote 0
                                    • C
                                      ch3i Moderator @afuente26
                                      last edited by ch3i Jun 2, 2015, 12:21 PM Jun 2, 2015, 6:21 PM

                                      @afuente26 said:

                                      @afuente26

                                      ok. we are progressing. I´ve tested the time in a php-file (date-function) and the apache time is ok.
                                      But I´ve found, that nevertheless it is a time problem.

                                      I´ve tried the following cronjob configuracion, asuming today is the 2 june tuesday, 20:23 hour
                                      The scheduled task worked with exception of the hour:

                                      cronjob.png

                                      You have edit your post to past your code, you can paste it in the code tags, the button “</>”

                                      echo "some code"
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • W
                                        Wayne Workman
                                        last edited by Wayne Workman Jun 2, 2015, 1:25 PM Jun 2, 2015, 7:25 PM

                                        brackets and CODE and slashes work, too.

                                        open bracket [

                                        then CODE
                                        then close bracket ]

                                        then the same at the end, but with a / in front of code.

                                        Like this (but remove the quotes)

                                        [“CODE”]
                                        some code here
                                        [“/CODE”]

                                        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/

                                        1 Reply Last reply Reply Quote 0
                                        • A
                                          afuente26
                                          last edited by Jun 2, 2015, 7:42 PM

                                          the diference are two hours. I have to schedule the task two hours less.

                                          I´ve also modified the timezone in the php.ini but this do not afecto the cronjob.

                                          For me it´s a “good” solution.
                                          Thanks to all.
                                          Angel

                                          C 1 Reply Last reply Jun 2, 2015, 7:45 PM Reply Quote 1
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            1/27
                                            Last post

                                          168

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project