SOLVED sheduled task
-
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 -
Yes. It´s the 1.2.0
The option to change the TZ doens´t appear…
-
@afuente26 latest version of fog is not very helpful. What is the actual version of fog you’re running? Latest in my eyes is current trunk. I’m going to guess you’re working with 1.2.0. You will find the version in the cloud logo at the top of the GUI.
-
I searched in configuration but there is no FOG_TZ_INFO, either in the other settings. I use the latest version of FOG.
-
@afuente26 said:
I´m terrible sorry, but I can´t find where to change this settings…
FOG Configuration -> FOG Settings -> General Settings -> FOG_TZ_INFO
-
I´m terrible sorry, but I can´t find where to change this settings…
-
ok. we are progressing. I´ve tested the time in a php-file (date-function) and the apache time is ok.
Not good enough.
You have to set your time zone in the FOG web UI. This is likely your issue.
You see, the Web UI is what PUTS the cron jobs into the operating system. If it has the wrong time zone set, then all jobs will be off because the settings they were set to are off.
-
@afuente26 said:
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.
AngelGood news;)
-
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 -
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"] -
@afuente26 said:
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:You have edit your post to past your code, you can paste it in the code tags, the button “</>”
echo "some code"
-
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: -
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.
-
Yes, the cronjob-service is running ;-(
-
@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
-
@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/
-
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
-
The services are running, although the don´t appear in the troubleshooting script.
This is the screenshot
-
@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
-
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.