Create job¶
This how-to guide will show you how to create a NAIS manifest for your job.
Setup¶
Inside your job repository, create a .nais
-folder.
Create a file called job.yaml
in the .nais
-folder.
Define your job¶
Below is a basic example of an job manifest.
Add the following content to the file, and insert the appropriate values in the placeholders on the highlighted lines:
.nais/app.yaml
This job manifest will run your code every hour. If you want to run your job only once, you can remove the schedule
field.