tags:

views:

41

answers:

0

Hi,

My application runs in differen timezones. and it runs at 24 hrs midnight UTC time. So i need to change it every time when timezone changes. So i need UTC time in my cron job not local time.

<servlet>
        <servlet-name>PerfMonHouseKeeper</servlet-name>
        <servlet-class>com.timer.PerfMonHouseKeeper</servlet-class>
        <init-param>
            <param-name>cronExprHouseKeeper</param-name>
            <param-value>5 0 1 * * ?</param-value>
        </init-param>
        <load-on-startup>2</load-on-startup>
    </servlet>

Currently it is according to CET time zone. So i want it to be according to UTC. so than i dont need to change it every time. Thanks.