Automation Menu

Cron Jobs

2min

Cron jobs in Kubeark are a powerful feature designed for scheduling and automating tasks at predetermined times or intervals.

Originating from the Unix-like operating systems, a cron job allows you to run specific scripts or commands automatically at specified times and dates. This functionality is particularly useful for routine tasks like data backups, system updates, or batch processing.

In Kubeark, cron jobs are integrated into the platform's workflow, enabling users to automate complex operations within their defined environment. The flexibility of cron scheduling allows for configuring tasks to run yearly, monthly, weekly, or even down to specific minutes, ensuring that operations are performed precisely when needed. This feature is essential for maintaining regular maintenance tasks, automating repetitive processes, and ensuring that critical functions occur at the right times without manual intervention.

Document image


How to Set Up a Cron Job in Kubeark

  1. Navigate to Cron Jobs: Go to Automation > Workspace > Cron Jobs menu. This will take you to the section where you can manage and create new cron jobs.
  2. Select Workspace: Choose your desired workspace from the dropdown menu located in the upper right corner of the interface. This ensures that the cron job you are creating is associated with the correct workspace.
  3. Initiate Cron Job Creation: Click on Select Cron Job. This action will lead you to the cron job creation interface.
  4. Configure Cron Job Arguments:
    • Name: Assign a distinctive name to your cron job for easy identification.
    • Description: Provide a brief but clear description of what the cron job does.
    • Owner: Specify the owner or the responsible party for this cron job.
    • Workflow: Select a workflow from the dropdown list. This is the workflow that will be triggered by the cron job.
    • Predefined Schedule: Choose from a dropdown of classic cron expressions (like every year, every month, every week, every day, etc.) for common scheduling needs.
    • Schedule: For more specific scheduling requirements, enter a custom cron expression in the provided field.
  5. Save the Cron Job: After entering all the necessary information and setting up the schedule, click on “Save” to finalize the creation of your cron job. Your job will now run according to the specified schedule, automating the chosen workflow at designated times.



Updated 19 Apr 2024
Doc contributor
Did this page help you?