# Automation

In most cases, the end user will likely *not* be using the UI to manually checkpoint/restore workloads - as most end users are researchers and not the sysadmins that have access to the UI.

Cedana offers a seamless automation where the user does not have to think about the underlying checkpointing at all. The preemption signal is intercepted, which triggers a checkpoint. Cedana then automatically requeues a restore into the same queue that was submitted.

This video highlights for example how the automation works without touching the UI:

{% embed url="<https://www.youtube.com/watch?v=QXvyWAU4SRo&feature=youtu.be>" %}

Some things in the pipeline to help as well:

* Notification via email to users on successful checkpoint/restore
* Restoring with the same jobID as was initially submitted
* Support for modifying restore properties (changing assigned SLURM resources)
* Support for restoring into a different queue


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cedana.ai/cedana-slurm/automation.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
