A scheduled task is defined to run every minute, employing a specific configuration for the task execution. This setup involves a container designated to execute a command that reads the contents of a designated file. The task is designed to execute in a non-parallel manner and is set to complete its operation twice. There is a limit imposed on retries, ensuring that if the task does not finish within a specified timeframe, it will be deemed unsuccessful, leading to the termination of the associated processes. The container utilizes a lightweight image for its operations and is configured to handle its execution with a straightforward command that outputs the contents of a file. The task management includes mechanisms to control execution limits and ensure timely completion.
Source Link