Appearance
Scheduled Tasks
Automate recurring tasks like invoice reminders, scheduled reports, and custom workflows. Set it and forget it.
Overview
Scheduled tasks allow you to:
- Automate invoice payment reminders
- Generate and email scheduled reports
- Execute custom tasks on a schedule
- Trigger webhooks on a schedule
- Reduce manual work
Viewing Scheduled Tasks
- Navigate to Scheduled Tasks in the sidebar
- View all scheduled tasks with:
- Task name
- Task type
- Schedule (frequency)
- Status (Active/Paused)
- Next run date
- Last run date
- Run count
Task Types
Invoice Reminders
Automatically send payment reminders for overdue invoices.
Configuration:
- Schedule: When to send reminders (e.g., daily at 9 AM)
- Reminder Schedule: Days before/after due date (e.g., 7 days before, on due date, 7 days after)
- Email Template: Reminder email template
Scheduled Reports
Automatically generate and email reports.
Configuration:
- Schedule: Report frequency (daily, weekly, monthly)
- Report Type: Which report to generate
- Recipients: Email addresses to receive report
- Format: PDF or CSV
Webhooks
Trigger webhooks on a schedule.
Configuration:
- Schedule: When to trigger (cron expression or interval)
- Webhook URL: Endpoint to call
- Payload: Data to send
Custom Tasks
Execute custom business logic on a schedule.
Configuration:
- Schedule: Execution frequency
- Task Config: Custom configuration for your task
Creating a Scheduled Task
Invoice Reminder
- Navigate to Scheduled Tasks
- Click Create Task
- Select Invoice Reminder type
- Configure:
- Name: Descriptive name (e.g., "Daily Payment Reminders")
- Schedule: When to run (e.g., "Daily at 9:00 AM")
- Reminder Schedule: Days relative to due date
- Email Template: Reminder template
- Click Save
Scheduled Report
- Navigate to Scheduled Tasks
- Click Create Task
- Select Scheduled Report type
- Configure:
- Name: Report name (e.g., "Weekly Revenue Report")
- Schedule: Frequency (daily, weekly, monthly)
- Report Type: Select report
- Recipients: Email addresses (comma-separated)
- Format: PDF or CSV
- Click Save
Webhook Task
- Navigate to Scheduled Tasks
- Click Create Task
- Select Webhook type
- Configure:
- Name: Task name
- Schedule: Cron expression or interval
- Webhook URL: Endpoint URL
- Method: GET, POST, PUT, DELETE
- Headers: Custom headers (optional)
- Payload: JSON body (optional)
- Click Save
Schedule Configuration
Cron Expression
Use cron syntax for precise scheduling:
0 9 * * *- Daily at 9:00 AM0 9 * * 1- Every Monday at 9:00 AM0 9 1 * *- First day of month at 9:00 AM*/15 * * * *- Every 15 minutes
Interval
Use simple intervals:
- Daily: Every 24 hours
- Weekly: Every 7 days
- Monthly: Every 30 days
- Custom: Specify hours, days, etc.
Managing Tasks
Pausing Tasks
- Find the task
- Click Pause
- Task stops executing until resumed
Resuming Tasks
- Find paused task
- Click Resume
- Task resumes on next scheduled run
Editing Tasks
- Find the task
- Click Edit
- Update configuration
- Click Save
- Next run date recalculates if schedule changed
Deleting Tasks
- Find the task
- Click Delete
- Confirm deletion
Warning: Deleted tasks cannot be recovered.
Running Tasks Manually
- Find the task
- Click Run Now
- Task executes immediately
- Useful for testing
Task Execution History
Viewing History
- Open task details
- View Execution History tab
- See:
- Execution date/time
- Status (Success/Failed)
- Duration
- Result/Error messages
Task Logs
- View detailed logs for each execution
- See what actions were performed
- Identify errors or issues
- Debug task problems
Best Practices
- Clear naming: Use descriptive task names
- Test first: Run tasks manually before scheduling
- Monitor execution: Check execution history regularly
- Set appropriate schedules: Don't run too frequently
- Handle errors: Configure error handling for webhooks
- Document purpose: Add notes explaining task purpose
Troubleshooting
Task Not Running
- Check task status is "Active"
- Verify next run date has passed
- Check schedule configuration is correct
- Review execution history for errors
Task Failing
- View execution history
- Check error messages
- Verify configuration is correct
- Test manually to identify issue
Wrong Schedule
- Edit task
- Update schedule configuration
- Verify cron expression or interval
- Check next run date updates correctly
Next Steps
- Recurring Invoices - Automate invoice generation
- Automation & Workflows - Event-based automation
- Reports - Scheduled report types

