# How to access task resources info from task script?

**URL:** <https://cylc.discourse.group/t/how-to-access-task-resources-info-from-task-script/1338>\
**Category:** Cylc Support\
**Created:** [August 25, 2026, 3:41pm UTC](https://cylc.discourse.group/t/how-to-access-task-resources-info-from-task-script/1338 "2026-08-25T15:41:02Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![TomC](https://yyz2.discourse-cdn.com/free1/user_avatar/cylc.discourse.group/tomc/32/115_2.png) [@TomC](https://cylc.discourse.group/u/TomC)\
**Post date:** [August 26, 2026, 9:15pm UTC](https://cylc.discourse.group/t/how-to-access-task-resources-info-from-task-script/1338/4 "2026-08-26T21:15:28Z")

</div>

You could also store the details as environment variables yourself in the task definition. There was similar discussion in this thread [Cylc 8.6.2 how to grab execution time limit as variable](https://cylc.discourse.group/t/cylc-8-6-2-how-to-grab-execution-time-limit-as-variable/1294)

---

_[View the full topic](https://cylc.discourse.group/t/how-to-access-task-resources-info-from-task-script/1338)._
