remove dapr-jobs cli doc

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
Hannah Hunter 2024-06-12 14:37:46 -04:00
parent 81348b76ec
commit f5abc178ab
1 changed files with 0 additions and 53 deletions

View File

@ -1,53 +0,0 @@
---
type: docs
title: "job CLI command reference"
linkTitle: "job"
description: "Detailed information on the job CLI command"
---
### Description
Schedule jobs on a given Dapr application.
### Supported platforms
- [Self-Hosted]({{< ref self-hosted >}})
- [Kubernetes]({{< ref kubernetes >}})
### Usage
```bash
dapr job [command] [flags]
```
### Commands
| Name | Description |
| ------------------- | ----------------------------------------------------- |
| `schedule` | Schedule job in your application |
| `get` | Get scheduled job |
| `delete` | Delete the scheduled job |
### Flags
| Name | Environment Variable | Default | Description |
| ------------------- | -------------------- | ------- | ----------------------------------------------------- |
| `--app-id`, `-i` | `APP_ID` | | The application id on which to schedule jobs |
| `--name`, `-n` | | | Name of the job |
| `--schedule`, `-s` | | | Interval schedule for the job |
| `--data`, `-d` | | | The JSON serialized data string (optional) |
| `--repeats`, `-r` | | | If the job is scheduled as recurring and how often it repeats (optional) |
### Examples
```bash
# Schedule a job on an hourly interval that repeats once
dapr job schedule --name myjob --app-id myapp --schedule "@hourly" --data '{"key":"value"}' --repeats 1
# Get information on the scheduled job
dapr job get --name myjob --app-id myapp
# Delete job
dapr job delete --name myjob --app-id myapp
```