create_worker_from_template
Create a scheduled automation worker from prebuilt templates for backup, cleanup, monitoring, and email reports.
Instructions
Create a worker using a built-in template. Template types: folder_backup (source, dest, keep, summary_email), file_cleanup (folder, pattern, days, summary_email), folder_watcher (watch, rules as [{ext, dest, email_to}]), uptime_check (url, log_file, alert_email), open_url (url), run_and_email (script_path, output_file, email_to). Generated scripts use stdlib only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| config | Yes | Template-specific config fields | |
| sched_type | Yes | ||
| sched_value | Yes | ||
| template_type | Yes |