Answer the question
In order to leave comments, you need to log in
Why is the time on the server and when executing cron tasks different?
Good afternoon. The time zone Europe/Moscow is set on the server and everything works correctly.
But in cron tasks, the time differs from Moscow by -3 hours. The commands are called as follows: /opt/php/7.1/bin/php /var/www/...
I went to the server via SSH, wrote the date command and got the Moscow time. Tell me how to fix it. Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question