WebJob Commands
Weik.io 2026.1Manage WebJobs using the CLI.
On this page
Manage WebJobs that run a command on agents on a cron schedule.
Usage#
Terminal
weikio webjob [command] [options]Subcommands#
list#
List all WebJobs.
Usage:
Terminal
weikio webjob listExample:
Terminal
weikio webjob listadd#
Add a new WebJob.
Usage:
Terminal
weikio webjob add <Name> -cron "<Expression>" -cmd <Command>Arguments:
| Name | Required | Description |
|---|---|---|
| Name | Yes | Name of the WebJob |
Options:
| Flag | Description |
|---|---|
-cron <expression> |
Cron expression for the schedule, required |
-cmd <command> |
Command to run, required |
Example:
Terminal
weikio webjob add my-webjob -cron "0 0 * * *" -cmd /opt/scripts/nightly.shdelete#
Delete a WebJob.
Usage:
Terminal
weikio webjob delete <Name>Arguments:
| Name | Required | Description |
|---|---|---|
| Name | Yes | Name of the WebJob to delete |
Example:
Terminal
weikio webjob delete my-webjob