<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/running-tasks-in-production-with-elixir-releases-rpc-eval-and-remote-68s8i2mup" -->

---
title: Running tasks in production with Elixir releases: rpc,...
description: A screencast walks through how to run one-off or recurring tasks on a production Elixir app deployed as a release, since the usual Mix task approach isn&#x27;t...
canonical: https://daily.dev/posts/running-tasks-in-production-with-elixir-releases-rpc-eval-and-remote-68s8i2mup
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Running tasks in production with Elixir releases: rpc, eval, and remote | daily.dev
og:description: A screencast walks through how to run one-off or recurring tasks on a production Elixir app deployed as a release, since the usual Mix task approach isn&#x27;t...
og:url: https://daily.dev/posts/running-tasks-in-production-with-elixir-releases-rpc-eval-and-remote-68s8i2mup
og:image: https://api.daily.dev/og/posts/68s8I2mUP.png
og:image:alt: Running tasks in production with Elixir releases: rpc, eval, and remote
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Running tasks in production with Elixir releases: rpc, eval, and remote

**[Elixir Forum](https://daily.dev/sources/elixirforum)** · 1 min read · 3 upvotes · 0 comments

## Summary

A screencast walks through how to run one-off or recurring tasks on a production Elixir app deployed as a release, since the usual Mix task approach isn't available. It covers three release-native options—remote, rpc, and eval—explaining when each is appropriate, all of which apply to any Elixir release deployment. A fourth section demonstrates using Potions' scheduled tasks feature to run a job on a daily schedule.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://forum.elixirforum.com/t/running-tasks-in-production-with-elixir-releases-rpc-eval-and-remote/76503>

## Questions this post answers

### How do I run a one-off task on an Elixir app deployed as a release, since Mix tasks aren't available?

Elixir releases provide three built-in mechanisms instead of Mix tasks: remote, rpc, and eval. Remote connects an interactive shell to the running release for exploratory work, rpc executes a function call against the running node programmatically, and eval runs a snippet of code without needing an interactive session. Each fits a different use case depending on whether the task is exploratory, scripted, or a quick one-off command.

_Developers deploying Elixir releases can find similar production task walkthroughs on daily.dev._

## Similar posts on daily.dev

- [Deploy Phoenix to a VPS in Minutes](https://daily.dev/posts/deploy-phoenix-to-a-vps-in-minutes-bx4ywnz7i) · ElixirStatus · 0 upvotes · 0 comments
- [Deploy Phoenix to a VPS in Minutes](https://daily.dev/posts/deploy-phoenix-to-a-vps-in-minutes-x8nz5zc7d) · Elixir Forum · 0 upvotes · 0 comments
- [Elixir v1.20.0-rc.5 released](https://daily.dev/posts/elixir-v1-20-0-rc-5-released-qekovowmu) · Elixir Forum · 0 upvotes · 0 comments

---

Tags: [#devops](https://daily.dev/tags/devops), [#cicd](https://daily.dev/tags/cicd), [#elixir](https://daily.dev/tags/elixir)

[View this post on daily.dev](https://daily.dev/posts/running-tasks-in-production-with-elixir-releases-rpc-eval-and-remote-68s8i2mup)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Running tasks in production with Elixir releases: rpc, eval, and remote","url":"https://daily.dev/posts/running-tasks-in-production-with-elixir-releases-rpc-eval-and-remote-68s8i2mup","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/running-tasks-in-production-with-elixir-releases-rpc-eval-and-remote-68s8i2mup"},"datePublished":"2026-08-31T14:42:20.342Z","dateModified":"2026-09-13T22:00:38.270Z","description":"A screencast walks through how to run one-off or recurring tasks on a production Elixir app deployed as a release, since the usual Mix task approach isn't...","image":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","thumbnailUrl":"https://media.daily.dev/image/upload/s--qPvKM23u--/f_auto/v1722860399/public/Placeholder%2009","isAccessibleForFree":true,"articleSection":"Elixir Forum","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Elixir Forum","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/c7c05785a0da4507bf9ae120a7e487e6","url":"https://daily.dev/sources/elixirforum"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/running-tasks-in-production-with-elixir-releases-rpc-eval-and-remote-68s8i2mup","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":3},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"devops,cicd,elixir","timeRequired":"PT1M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Elixir Forum","item":"https://daily.dev/sources/elixirforum"},{"@type":"ListItem","position":3,"name":"Running tasks in production with Elixir releases: rpc, eval, and remote"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/running-tasks-in-production-with-elixir-releases-rpc-eval-and-remote-68s8i2mup#faq","mainEntity":[{"@type":"Question","name":"How do I run a one-off task on an Elixir app deployed as a release, since Mix tasks aren't available?","acceptedAnswer":{"@type":"Answer","text":"Elixir releases provide three built-in mechanisms instead of Mix tasks: remote, rpc, and eval. Remote connects an interactive shell to the running release for exploratory work, rpc executes a function call against the running node programmatically, and eval runs a snippet of code without needing an interactive session. Each fits a different use case depending on whether the task is exploratory, scripted, or a quick one-off command. Developers deploying Elixir releases can find similar production task walkthroughs on daily.dev."}}]}
```

