# Using OpenAI Codex Automations to Scan for Bugs and Fix Code on a Schedule

DevFeed: [Using OpenAI Codex Automations to Scan for Bugs and Fix Code on a Schedule](<https://devfeed.tech/articles/how-i-m-using-openai-codex-automations-to-improve-my-code-18317.md>)

Original publisher: [Read original article](<https://newsletter.aiengineer.co/p/how-im-using-openai-codex-automations>)

Author: Owain Lewis

Published: 2026-02-21T15:17:09Z

Content type: tutorial

Language: en

Sources: [The AI Engineer](<https://devfeed.tech/sources/the-ai-engineer.md>)

Topics: [codex](<https://devfeed.tech/topics/codex.md>), [Automation](<https://devfeed.tech/topics/automation.md>), [ai-coding](<https://devfeed.tech/topics/ai-coding.md>), [coding](<https://devfeed.tech/topics/coding.md>), [bug](<https://devfeed.tech/topics/bug.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [ai-coding](<https://devfeed.tech/tags/ai-coding.md>), [automation](<https://devfeed.tech/tags/automation.md>), [bug](<https://devfeed.tech/tags/bug.md>), [codex](<https://devfeed.tech/tags/codex.md>), [coding](<https://devfeed.tech/tags/coding.md>), [config](<https://devfeed.tech/tags/config.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [openai](<https://devfeed.tech/tags/openai.md>)

## AI overview

The article explains how to configure OpenAI Codex Automations to run coding tasks on a schedule. It describes a paired workflow in which one automation scans for bugs and creates Linear tickets, while another fixes the tickets and opens pull requests, using persistent memory to avoid duplicate reports and track prior work.

## Source excerpt

How to create AI agents that work for you 24/7.