PBS time doesn't match system time

PBS thinks its UTC timezone. How do I move this to my time zone? The manual talks about setting the PBS_TZID enviornment variable for the submission host, but i’m not sure this is the right thing to do. Anyways how do i set this env variable?


Please set it in one of the below methods:

  1. pbs_environment ( location : $PBS_HOME/pbs_environment , after updating this file restart pbs services)
    Refer : 8.7 Paths and Environment Variables

  2. Add the PBS_TZID value to the .bashrc file of the respective user(s)

Used method 1.

then systemctl restart pbs

Worked. It took a minute after the restart to start rerading the right time, which was suprising. I thought it didn’t work, but eventually it started displaying the right time.

Thank you for your help!

1 Like