Scheduling

Run execution on a cron or recurring schedule

What are Schedules?

Schedules run execution automatically at specified times or intervals. The same Think→Act→Observe engine runs (as in chat and triggers). Whether you need a one-time run, recurring task, or cron-based schedule, ViksaAI's scheduler invokes the executor and stores results for review.

Schedule Types

One-Time

Execute once at a specific date and time.

Recurring

Execute at fixed intervals (every N minutes/hours/days).

Cron

Complex schedules using standard cron expressions.

Creating a Schedule

  1. 1

    Navigate to Scheduler

    Go to the Scheduler section in the sidebar

  2. 2

    Click Create Schedule

    Opens the schedule configuration form

  3. 3

    Configure the Schedule

    Set name, type, timing, and the trigger or prompt to run

  4. 4

    Save and Activate

    Your schedule will start running automatically

Cron Expression Reference

Cron expressions follow the standard 5-field format:

minute hour day-of-month month day-of-week
ExpressionDescription
0 * * * *Every hour at minute 0
0 9 * * *Every day at 9:00 AM
0 9 * * 1-5Weekdays at 9:00 AM
*/15 * * * *Every 15 minutes
0 0 1 * *First day of every month at midnight

Managing Schedules

Pause

Temporarily stop a schedule from executing. Resume anytime.

Resume

Reactivate a paused schedule. Picks up from next scheduled time.

Execution History

Each schedule maintains a history of all its executions:

View when each execution started and completed
See success/failure status for each run
Access detailed logs and outputs
Click any execution to view full details

Best Practices

  • • Use descriptive names that indicate what the schedule does
  • • Consider timezone when setting cron expressions
  • • Set appropriate retry policies for critical jobs
  • • Monitor execution history for failures
  • • Pause schedules during maintenance windows