Automation and monitoring
Finally, we need to ensure our solution is suitable for a production environment. Therefore, we will schedule the whole workflow using Rundeck and implement monitoring to ensure everything is running smoothly.
Rundeck scheduling workflow
Project schedules allow us to define schedules that can apply to any job in the project. You can run a Rundeck job in the following ways:
- Manually from the web interface
- Via a schedule (simple or crontab)
- Via an API call with a user token
If we want to run a job manually, we need to go inside the project, select the target job, and click Run Job Now:
Next, we can define a schedule using one of two options: Simple or Crontab. Simple can be used if our needs are very basic:
If we want to plan an advanced schedule, we will need to use Crontab, where...