1
1
2
- The ` influxdb3 test schedule_plugin ` command tests a schedule plugin.
3
- Use this command to verify plugin behavior without creating a trigger.
2
+ The ` influxdb3 test schedule_plugin ` command tests a schedule plugin. Use this command to verify plugin behavior without creating a trigger.
4
3
5
4
## Usage
6
5
@@ -11,7 +10,7 @@ influxdb3 test schedule_plugin [OPTIONS] --database <DATABASE_NAME> <FILENAME>
11
10
```
12
11
## Arguments
13
12
14
- - ** FileName ** : Path to the local plugin file (usually ends in ` .py ` )
13
+ - ** PLUGIN_NAME ** : Path to the plugin file on the server. Use the full relative path, such as ` <plugin-dir>/<plugin-file-name> .py` .
15
14
16
15
## Options
17
16
@@ -40,9 +39,12 @@ In the examples below, replace the following:
40
39
41
40
- {{% code-placeholder-key %}}` DATABASE_NAME ` {{% /code-placeholder-key %}}: Your target database
42
41
- {{% code-placeholder-key %}}` AUTH_TOKEN ` {{% /code-placeholder-key %}}: Your authentication token
43
- - {{% code-placeholder-key %}}` PLUGIN_FILENAME ` {{% /code-placeholder-key %}}: Plugin filename (with path)
42
+ - {{% code-placeholder-key %}}` PLUGIN_DIR ` {{% /code-placeholder-key %}}:
43
+ Plugin directory name
44
+ - {{% code-placeholder-key %}}` PLUGIN_NAME ` {{% /code-placeholder-key %}}:
45
+ Plugin file name
44
46
45
- {{% code-placeholders "DATABASE_NAME|AUTH_TOKEN|PLUGIN_FILENAME " %}}
47
+ {{% code-placeholders "(DATABASE|PLUGIN) _ (NAME|DIR)|AUTH_TOKEN " %}}
46
48
47
49
### Test a schedule plugin
48
50
@@ -52,7 +54,7 @@ In the examples below, replace the following:
52
54
influxdb3 test schedule_plugin \
53
55
--database DATABASE_NAME \
54
56
--token AUTH_TOKEN \
55
- PLUGIN_FILENAME .py
57
+ PLUGIN_DIR/PLUGIN_NAME .py
56
58
```
57
- {{% /code-placeholders %}}
58
59
60
+ {{% /code-placeholders %}}
0 commit comments