Create a task
To create a task in your module, use the pdk new task command.
The pdk new task command creates a
task file in shell script, with the naming convention task_name.sh, and a task metadata
file.
- From the command line, in your module's
directory, run
pdk new task <TASK_NAME>
Results
PDK creates a task file,
with the naming convention task_name.sh and a task metadata file, task_name.json in the ./tasks directory. Although the
task template is in shell script, you can write tasks in any language the target
nodes can run.






