Existing action
action_name must resolve on the target
entity_name and succeed when called directly.
Daptin
Run Daptin →
Scheduled work guide
Create a task with a valid action, schedule, input, and user context. Load it at server startup and verify its behavior before making it recurring.
action_name must resolve on the target
entity_name and succeed when called directly.
Use a five-field cron expression, a descriptor such as
@daily, or an interval such as
@every 5m.
Link as_user_id. Tasks without user context do not
execute.
Set active and restart the latest release after
creating or changing tasks so the scheduler registers them.
{
"name": "daily_cleanup",
"action_name": "cleanup_old_data",
"entity_name": "session",
"schedule": "@daily",
"active": true,
"attributes": "{\"days_old\":30}",
"as_user_id": "scheduler@example.com"
}
Link the task to the intended user through
as_user_id. Start with @every 1m in an
isolated environment, observe the result, then change to the
production schedule and restart.
Repeat safely
Choose an explicit as_user_id whose permissions match
the work, then restart after creating or changing the schedule.
Exercise the action manually before waiting for the clock.