jobs Command
Thejobs
command helps you create and manage background jobs in your zopio
application.
Usage
Options
-l, --list
- List all registered jobs-c, --create <name>
- Create a new job-t, --trigger <jobId>
- Manually trigger a job-s, --schedule <cron>
- Set job schedule (cron expression)
Examples
Job Types
The Zopio CLI supports three types of background jobs:Cron Jobs
Scheduled jobs that run on a regular basis using cron expressions.Queue Jobs
Jobs that process items from a queue.Worker Jobs
Long-running worker processes.Internationalization Support
All jobs created with thejobs
command have built-in internationalization support. Job names, descriptions, and log messages can be translated into all configured languages.
Example job structure with i18n support: