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

    Scheduled cron tasks don't start

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    13
    3.8k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      grrrrrr

      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
      • Tom ElliottT
        Tom Elliott
        last edited by

        What’s the OS you’re running this on?

        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
        • hariskarH
          hariskar
          last edited by

          lubuntu 14.04
          Why did this happen now? The pc is just on and is supposed to take backups. There was no problem with database the previous days.

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

            I don’t know why it’s happening, but it’s not something FOG has done.

            Change the permissions of the /var/lib/mysql directory and see if that helps:

            [code]sudo stop mysql
            sudo chmod -R 775 /var/lib/mysql
            sudo start mysql
            sudo service FOGMulticastManager restart
            sudo service FOGImageReplicator restart
            sudo service FOGScheduler restart[/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! 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
            • hariskarH
              hariskar
              last edited by

              [quote=“Tom Elliott, post: 29372, member: 7271”]Is the FOGScheduler service running?[/quote]

              I reinstalled from scratch Linux+fog. So Database problem is gone.
              But scheduled tasks still don’t run.
              I just made a cron task 05 21 * * * and it did not start when the time came.
              With
              [CODE]$ service --status-all
              [ ? ] FOGImageReplicator
              [ ? ] FOGMulticastManager
              [ ? ] FOGScheduler
              [/CODE]

              1 Reply Last reply Reply Quote 0
              • hariskarH
                hariskar
                last edited by

                [FONT=Consolas]FOGScheduler starts normally…[/FONT]

                1 Reply Last reply Reply Quote 0
                • hariskarH
                  hariskar
                  last edited by

                  I installed fog on debian 7.5 and the schedule problem remains… Scheduled tasks don’t start. What is happening? Am I doing something wrong?

                  1 Reply Last reply Reply Quote 0
                  • hariskarH
                    hariskar
                    last edited by

                    Please could someone help me?
                    I can’t find the solution by myself… 😞
                    Do you need any more info from me?
                    Thank you

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

                      Try running:

                      [code]sudo service FOGScheduler restart[/code]

                      My guess is the service just wasn’t/isn’t running.

                      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
                      • hariskarH
                        hariskar
                        last edited by

                        Thank you Tom! with
                        [CODE]sudo service FOGScheduler restart[/CODE]

                        it works fine now!
                        I had done it before but for some reason it did not work. Also I wonder why it did not work after many linux (different distros)/fog reinstallations.
                        Anyway, not it is OK!
                        Thank you again! 🙂

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

                        154

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project