Step 2 of 21 · 4 minutes

Gentle Reminders

The Scenario

Customers often receive their cards but forget to activate them. We want to send a friendly reminder email 7 days after registration — but only if the card hasn't been activated yet.

Sending reminders for already-activated cards would annoy customers.

The Challenge

How do we schedule a future job that can be cancelled if circumstances change?

The Solution

Use scheduleAt() to create a job that runs 7 days in the future. When the customer activates their card, mark the reminder job as DELETED.

JobRunr will skip the job gracefully and show it in the dashboard with a clear reason. The job will be automatically cleaned up after 3 days.

Read the documentation →

Try It Yourself

  1. Register a new credit card — notice the scheduled reminder job
  2. Activate the card — watch the scheduled reminder job change to DELETED
  3. Check the dashboard to see the cancellation reason
You need to log in to perform write operations. You can still view the code solution and dashboard.