SYSTEM INFORMATION | |
---|---|
OS type and version | Rocky Linux 8.6 |
Webmin version | 2.021 |
Hello everyone. If in a PHP file I indicate that the date and time be written to a file, for example
file_put_contents(WRITEPATH.‘logs/myFyle.txt’, “\n”.date(‘Y-m-d H:i:s’), FILE_APPEND);
is displayed:
2023-06-26 12:06:12
which is correct. But if I do it from a Webmin Cron, it is displayed
2023-06-26 05:06:12
However the Cron runs at the correct time. Would I have to configure something in Webmin? Thank you very much in advance.