# Creating jobs in a plugin

**URL:** https://meta.discourse.org/t/creating-jobs-in-a-plugin/367998
**Category:** Development
**Created:** [May 29, 2025, 12:59am UTC](https://meta.discourse.org/t/creating-jobs-in-a-plugin/367998 "2025-05-29T00:59:18Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![NateDhaliwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/natedhaliwal/32/313494_2.png) [@NateDhaliwal](https://meta.discourse.org/u/NateDhaliwal)
#### Post date: [May 29, 2025, 2:22am UTC](https://meta.discourse.org/t/creating-jobs-in-a-plugin/367998/2 "2025-05-29T02:22:00Z")

</div>

Never mind, I found this here:

> [@Scheduling jobs from a plugin](https://meta.discourse.org/t/scheduling-jobs-from-a-plugin/40238/2):
>
> This seems to work. after\_initialize do class :Jobs:ExampleJob \< Jobs::Scheduled every 30.seconds def execute(args) puts "THIS IS A TEST" end end end

---

_[View the full topic](https://meta.discourse.org/t/creating-jobs-in-a-plugin/367998)._
