Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ptidav

Pages: [1]
1
CentOS Configuration / Re: server time : timezone not applied
« on: April 05, 2022, 07:08:03 AM »
already rebooted several times....

2
CentOS Configuration / Re: server time : timezone not applied
« on: April 05, 2022, 05:21:43 AM »
No VSP running OpenVZ. It's a vmware cloud VM.
When I type "date" on the vm (not hypervisor because I don't have any access) from SSH , the right time is displayed....

3
CentOS Configuration / Re: server time : timezone not applied
« on: April 04, 2022, 05:15:32 PM »
It is not the date and time of the log entries BUT the date and time of the log file that is not correct.
When a script is scheduled to run at 13:00 (UTC+2)





the log file time is 11:00




I have yet set the time zone on the server to UTC+2, also in the stipulated php.ini files ( /usr/local/php/php.ini and /usr/local/cwp/php71/php.ini)


4
CentOS Configuration / Re: server time : timezone not applied
« on: April 01, 2022, 07:02:11 AM »
I mean when the script is executed and the .log file content updated, the date and time of the log file are UTC date and time (ie 07:00) ; not UTC+2 (ie 09:00) as defined in server timezone settings

5
CentOS Configuration / server time : timezone not applied
« on: March 31, 2022, 07:12:16 AM »
Hello,
I defined the timezone of my server to "Europe/Paris", so UTC+2
I Also defined timezone in /usr/local/php/php.ini and /usr/local/cwp/php71/php.ini

When I execute a php script that logs date and time, data are correct. Script executed at 09:00 records 09:00 in the log.
But the date of the modified .log file is still UTC (09:00-2 => 07:00).

Is it normal ? I think no.... How to correct that ?

Thanks for your help
David

6
CentOS Configuration / Re: cron task not executed manually
« on: March 31, 2022, 07:05:49 AM »
Ok but why there is button in the gui called "run cron job now" with a right arrow icon ?
Thanks

7
CentOS Configuration / cron task not executed manually
« on: March 30, 2022, 07:48:26 AM »
Hello,
I defined some cron task in the user account (.sh scripts). Execute right is applied on each script file.
A typical entry is :
/home/user/public_html/crons/cron_test.sh >> /home/user/public_html/crons/cron_test.log 2>&1

Task is never executed, when I launch it manually from the panel gui.
Log file is not updated.

However, the task is correctly executed at defined time.

What's wrong ?

Thanks for your help
David

Pages: [1]