Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.2.x #669

Merged
merged 3 commits into from
Nov 23, 2023
Merged

8.2.x #669

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions src/7-to-8/cheat-sheet.rst
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,33 @@ Generate a visualisation for a workflow without running it:

The web UI will have full graph vis. in a future release.

Datetime Operations
-------------------

Datetime operations in task scripts:

.. list-table::
:class: grid-table

* - **Cylc 7** & Rose 2019
- **Cylc 8** (Rose 2)
* - ::

rose date <point> --offset <offset>
- ::

isodatetime <point> --offset <offset>
* - ::

rose date -c
# equivalent to:
rose date "$CYLC_TASK_CYCLE_POINT"
- ::

isodatetime ref
# equivalent to:
isodatetime "$CYLC_TASK_CYCLE_POINT"

Rose Stem
---------

Expand Down
5 changes: 1 addition & 4 deletions src/user-guide/writing-workflows/scheduling.rst
Original file line number Diff line number Diff line change
Expand Up @@ -599,10 +599,7 @@ The Environment Variable CYLC\_WORKFLOW\_INITIAL\_CYCLE\_POINT

At start up the initial cycle point is passed to job environments
as ``$CYLC_WORKFLOW_INITIAL_CYCLE_POINT`` and stored in the workflow
database to persist across restarts. However it gets wiped out (set to
``None``) by a :term:`warm start` (``cylc play --start-cycle-point`` or ``cylc
play --start-task``) - which is essentially a restart that ignores prior state
information.
database to persist across restarts.

The ``$CYLC_WORKFLOW_INITIAL_CYCLE_POINT`` variable allows tasks to
check if they are running in the initial cycle point, when different behaviour
Expand Down
Loading