Basic Ops

Introduction #

SmartPip provides a visual DAG task configuration interface, supporting drag-and-drop task orchestration, Cron scheduling, task dependency management, and more.

Core Concepts #

Concept Description
DAG Directed Acyclic Graph, defines task dependencies
JOB Task node, executes specific driver tasks
Cron Schedule expression, defines task execution time
Trigger Trigger rules, controls when tasks execute

Configuration #

  • In Data Platform → Task Schedule, create a new DAG task, save
  • Click “Edit” on the left of the task list to enter the development interface
  • Click the driver menu
  • Double-click the first column of a configuration row to open detailed settings

SmartPip Config SmartPip Config 2

Cron Expression Guide #

Cron expressions consist of 6-7 fields separated by spaces:

  • Seconds (0~59)
  • Minutes (0~59)
  • Hours (0~23)
  • Day of month (1~31)
  • Month (1~12 or JAN~DEC)
  • Day of week (1~7 or SUN~SAT, 1=SUN)
  • Year (optional, 1970~2099)

Special characters:

  • * — Match any value
  • ? — No specific value (day/week only)
  • - — Range (e.g., 9-17 = 9am to 5pm)
  • / — Step (e.g., 0/15 = every 15 minutes from 0)
  • , — Enumerate (e.g., 5,20 = at 5 and 20 minutes)
  • L — Last (last day of month or last SAT)
  • W — Nearest workday
  • # — Nth weekday of month (e.g., 4#2 = 2nd Wednesday)

Examples:

  • 0 0 12 ? * WED — Every Wednesday at noon
  • 0 15 10 ? * MON-FRI — Mon-Fri at 10:15 AM
  • 0 0 2 1 * ? — 1st of each month at 2 AM
  • 0 15 10 L * ? — Last day of month at 10:15 AM
  • */5 * * * * ? — Every 5 seconds
  • 0 */1 * * * ? — Every 1 minute

For non-triggering tasks, set to None. For one-time triggers, set to @once.