ecmwf / ecflow

ECMWF's workflow manager
Apache License 2.0
40 stars 14 forks source link

How to change the suite generated time (HH:MM)? #111

Closed Liu-Jincan closed 1 month ago

Liu-Jincan commented 2 months ago

Hi, everyone!

One method to change the suite generated date is provided in the Tutorial: Dates and Clocks, E.g.:

ecflow_client --alter change clock_date 1.4.2020   /test

And my question is, is it possible to change the suite generated time (HH:MM)? So that the tasks in Tutorial: Time Dependencies could be completed more quickly.

image

Any suggestions are welcome.

marcosbento commented 1 month ago

Hi @Liu-Jincan,

At the moment there is no mechanism to directly update ECF_TIME as a generated variable.

The ECF_TIME is set and defined by the server (when the suite begins), but however this time can be adjusted using the notion of clock gain. If you want to adjust the ECF_TIME by removing 5 minutes, you can use the following command:

ecflow_client --alter change clock_gain -300 /test
Liu-Jincan commented 1 month ago

Hi @Liu-Jincan,

At the moment there is no mechanism to directly update ECF_TIME as a generated variable.

The ECF_TIME is set and defined by the server (when the suite begins), but however this time can be adjusted using the notion of clock gain. If you want to adjust the ECF_TIME by removing 5 minutes, you can use the following command:

ecflow_client --alter change clock_gain -300 /test

Thanks! It works well.