Getting Started with QuedUp
Get up and running with QuedUp in just a few minutes. This guide will walk you through creating your first job and monitoring its execution.Prerequisites
Before you begin, you’ll need:- An API key:
- Sign up at app.quedup.dev
- Navigate to API Keys in the sidebar
- Click Create New Key to generate your token
- An HTTP endpoint: A URL to receive job requests (see Local Development below for testing)
- Basic knowledge: Familiarity with HTTP requests and cron expressions
Local Development
To test QuedUp with your local development server, you’ll need to expose your localhost to the internet. We recommend using a tool like ngrok or localtunnel.- Start your local server (e.g., running on port 3000).
- Expose it with ngrok:
- Copy the HTTPS URL provided by ngrok (e.g.,
https://abc-123.ngrok-free.app). - Use this URL when creating jobs.
Step 1: Create Your First Job
Let’s create a simple one-time job that will make a POST request to your endpoint. ReplaceYOUR_API_KEY with your key and the URL with your ngrok or production URL.
Step 2: Create a Recurring Job
Now let’s create a job that runs every day at 2 AM:Step 3: Monitor Your Jobs
Check the status of your jobs:Understanding Job Status
Jobs can have the following statuses:active- Job is scheduled and will run at the next scheduled timepaused- Job is temporarily disabledcompleted- One-time job has finished successfullyfailed- Job encountered an error and won’t retry
Understanding Job Run Status
Individual job runs can have these statuses:pending- Job is queued for executionrunning- Job is currently executingsuccess- Job completed successfullyfailed- Job failed (may retry based on configuration)
Next Steps
Now that you’ve created your first job:- Explore Job Types - Learn about different job configurations
- Understand Concepts - Deep dive into how QuedUp works
- Check the API Reference - Complete API documentation
Common Use Cases
Here are some popular ways to use QuedUp:- Database Backups - Run daily backups of your database
- Email Campaigns - Send welcome emails with a delay
- Data Synchronization - Sync data between services periodically
- Cleanup Tasks - Remove old files or expired data
- Health Checks - Monitor your services regularly
Job Types
Explore different job configurations
API Reference
Complete API documentation