Dashboard

Workflow Scheduling

Schedule workflows to run automatically on a recurring basis using cron expressions or preset intervals.

Setting Up a Schedule

  1. Open your workflow in the dashboard editor
  2. Click Schedule in the toolbar
  3. Choose a preset interval or enter a custom cron expression
  4. Optionally set input parameter values for scheduled runs
  5. Save the schedule

Preset Intervals

IntervalCron Expression
Every hour0 * * * *
Every 6 hours0 */6 * * *
Daily at midnight0 0 * * *
Weekly on Monday0 0 * * 1
Monthly on the 1st0 0 1 * *

Custom Cron Expressions

Use standard 5-field cron syntax:

┌───────────── minute (0-59)
│ ┌───────────── hour (0-23)
│ │ ┌───────────── day of month (1-31)
│ │ │ ┌───────────── month (1-12)
│ │ │ │ ┌───────────── day of week (0-7, 0 and 7 = Sunday)
│ │ │ │ │
* * * * *

Examples

0 9 * * 1-5      # Every weekday at 9:00 AM
*/15 * * * *     # Every 15 minutes
0 0 */2 * *      # Every 2 days at midnight
30 14 1,15 * *   # 1st and 15th of each month at 2:30 PM

Via the API

POST https://api.scrayle.com/api/v1/workflows/{workflowId}/schedule

Headers:
  x-api-key: YOUR_API_KEY
  Content-Type: application/json

Body:
{
  "cron": "0 */6 * * *",
  "input": {
    "search_query": "web scraping"
  }
}

Managing Schedules

⚠️Credits

Each scheduled run consumes 5 credits. Make sure your account has sufficient balance - failed runs due to insufficient credits will not retry automatically.