Scheduled cron tasks don't start
-
Is the FOGScheduler service running?
-
New problem: Unable to connect to database.
After reboot it is OK for some minutes, but then the same. -
grrrrrr
-
What’s the OS you’re running this on?
-
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. -
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] -
[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] -
[FONT=Consolas]FOGScheduler starts normally…[/FONT]
-
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?
-
Please could someone help me?
I can’t find the solution by myself…
Do you need any more info from me?
Thank you -
Try running:
[code]sudo service FOGScheduler restart[/code]
My guess is the service just wasn’t/isn’t running.
-
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!