crontab time diferrent than task time ?

chchang

Well-Known Member
Feb 6, 2018
33
4
48
46
sorry , I don`s know how to describe the problem .
let`s see the picture.

9mkOVA9.png


I add a cron job to create snapshot in one of my node at 20:00 everyday (No.2 in picture)
and I can confirm that date in node is the correct time (no.2/No.3 in picture)
but in tasks , dunno why , that cron job delayed 8 hours to start at 04:00
and there`s another backup job at that time already , so some of the snapshot will failed due to vm locked.

I config the host timezone to Asia/Taipei using dpkg-reconfigure tz-data long time ago and never change that ever. so why is that crontab time different than task time ?
if I change the host time to UTC , instead of UTC+8 or Asia/Taipei , is that correct way ? and should every nodes in my cluster use the same timezone setting eg UTC , not Asia/Taipei ?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!