toolcacheAI Coding Prompts › CRON Job & Scheduled Task Builder

CRON Job & Scheduled Task Builder

💻 Coding✓ Essential
Create a scheduled task system for [TASK DESCRIPTION] running [FREQUENCY].

Environment: [NODE.JS / PYTHON / BASH / OTHER]
Hosting: [SERVER / SERVERLESS / GITHUB ACTIONS / CRON]
Provide:
1. **Task Code**: The complete script that runs the task
2. **Schedule Configuration**: CRON expression with explanation
3. **Error Handling**: What happens when the task fails (retry logic, alerts)
4. **Logging**: How to track runs, successes, and failures
5. **Idempotency**: How to ensure the task can safely run multiple times
6. **Lock Mechanism**: Prevent overlapping runs
7. **Environment Setup**: Dependencies, env vars, secrets management
8. **Monitoring Dashboard**: What to track (last run, duration, success rate)
9. **Testing**: How to test the task locally before scheduling
10. **Deployment**: Step-by-step to set up the schedule in production
🔒

Unlock this prompt

You have 5 free unlocks remaining

or
Get unlimited access from £2.99 →

How to use this prompt

Copy the prompt above and paste it into ChatGPT, Claude, Gemini, or any AI assistant. Replace the bracketed placeholders with your specific details.

Leave a Review

Tried this prompt? Let us know how it worked — your reviews help other users find the best prompts.

Get Unlimited Access →Browse All 2,400 Prompts