Skip to main content

AI Scheduler

📖 FuerteventuraTV Docs Joomla & WordPress AI plugins
Daily use

AI Scheduler

The AI Scheduler lets you define recurring content-generation jobs that run automatically on a cron schedule. Each job sends a prompt to an AI provider and places the output in Content Review for approval before publishing.


How it works

Cron trigger
    │
    ▼
plg_task_joomlaai (Joomla) / wpai_run_due_jobs (WP-Cron)
    │
    ▼
SchedulerService::runDueJobs()
    │  Locks job row (UPDATE WHERE is_running = 0)
    ▼
AIService::generateForJob($job)
    │  Calls provider API
    ▼
Output saved → ContentReview table (status: pending)
    │
    ▼
Email notification (if configured)

Row-level locking prevents the same job from running twice if two cron triggers fire simultaneously.


Job list

Navigate to JoomlaAI → AI Scheduler.

ColumnDescription
TitleHuman-readable name
Prompt snippetFirst 80 characters of the prompt
ScheduleCron expression (human-readable label)
ProviderAI provider used
Last runTimestamp of the most recent execution
Statusactive / paused / error
ActionsEdit · Pause/Resume · Run now · Delete

Run now button triggers the job immediately regardless of its schedule. Useful for testing.


Creating a job

Click New in the toolbar.

General tab

FieldRequiredDescription
TitleYesDescriptive name shown in the job list
PromptYesThe text sent to the AI. Use {placeholders} for dynamic content.
ScheduleYesHow often the job runs (see schedules below)
ProviderNoOverride the global default provider
ModelNoOverride the global default model
StatusYesActive or Paused

Content tab

FieldDescription
Output title templateTemplate for the generated article title (e.g., {date} — Weekly Update)
Target categoryJoomla category / WP category to assign on publish
TagsComma-separated tags to apply on publish
Post-publish actiondraft, published, or pending (WP) / 0 or 1 (Joomla state)

Options tab

FieldDefaultDescription
Max tokens1024Output length cap
Temperature0.7Creativity level (0 = deterministic, 2 = very creative)
Retry on failure2How many times to retry if the provider returns an error
Notify on successOFFSend email when output is ready for review
Notify on failureONSend email if all retries fail

Schedule options

LabelCron expressionRuns
Every 5 minutes*/5 * * * *288× / day
Hourly0 * * * *24× / day
Daily (midnight)0 0 * * *1× / day
Daily (8 AM)0 8 * * *1× / day
Weekly (Monday 8 AM)0 8 * * 11× / week
Monthly (1st, 8 AM)0 8 1 * *1× / month
CustomEnter any valid cron expression

Prompt placeholders

Use curly-brace placeholders in your prompt text. The scheduler substitutes them at runtime:

PlaceholderValue
{date}Current date (YYYY-MM-DD)
{day}Day name (Monday, Tuesday…)
{month}Month name (January…)
{year}Four-digit year
{site_name}Your site's name
{site_url}Your site's URL

Custom placeholders from Template Library are also supported.


Built-in scheduled tasks

Three tasks are pre-installed and run automatically:

TaskDefault scheduleDescription
JoomlaAI: run due jobsEvery 5 minutesExecutes all active scheduler jobs whose next-run time has passed
JoomlaAI: provider health checkHourlyPings each configured provider and updates the Dashboard status
JoomlaAI: cleanup old dataDaily (03:00)Purges chat history older than the retention period, expired sessions, old audit records

Permissions

CapabilityAccess
joomlaai.scheduler / wpai_manage_schedulerCreate, edit, delete, run jobs
core.manage / wpai_dashboardView the Scheduler (read-only)

_Last updated: 2026-05-19 · v2.5.3_

Kepp in touch!
Send us your questions and needings
reCAPTCHA v3: Please set your Site and Secret key in the configuration page.

Copyright www.fuerteventuratv.net © From 2011. All Rights Reserved.