• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • H
    hariskar
    last edited by Jun 5, 2014, 3:57 PM

    Everything was working fine with 0.32 but I have a lot of problems with 1.0.1 …
    I made 3 cron tasks eg
    45 22 * * 1-6

    Under ls group it says No, is it correct?
    None of the tasks start, and there is no task under active tasks.
    I can execute a forced task but scheduled cron tasks don’t work.

    Thank you for help!

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jun 5, 2014, 4:01 PM

      Is the FOGScheduler service 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
      • H
        hariskar
        last edited by Jun 5, 2014, 4:34 PM

        New problem: Unable to connect to database.
        After reboot it is OK for some minutes, but then the same. 😞

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Jun 5, 2014, 4:35 PM

          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
          • T
            Tom Elliott
            last edited by Jun 5, 2014, 4:36 PM

            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
            • H
              hariskar
              last edited by Jun 5, 2014, 4:39 PM

              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
              • T
                Tom Elliott
                last edited by Jun 5, 2014, 4:53 PM

                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
                • H
                  hariskar
                  last edited by Jun 5, 2014, 6:12 PM

                  [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
                  • H
                    hariskar
                    last edited by Jun 6, 2014, 5:58 AM

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

                    1 Reply Last reply Reply Quote 0
                    • H
                      hariskar
                      last edited by Jun 10, 2014, 12:57 PM

                      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
                      • H
                        hariskar
                        last edited by Jun 11, 2014, 7:52 AM

                        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
                        • T
                          Tom Elliott
                          last edited by Jun 11, 2014, 11:07 AM

                          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
                          • H
                            hariskar
                            last edited by Jun 12, 2014, 4:17 PM

                            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
                            1 / 1
                            • First post
                              9/13
                              Last post

                            147

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project