Skip to content

CronJobs

Use a Kubernetes CronJob when you want a batch workload to run on a schedule.

Typical examples include nightly data refreshes, periodic evaluation jobs, cleanup tasks, health reports, and scheduled inference preparation work.

Choose a workflow

WorkflowBest forCurrent RemoteGPU support
ConsoleInspecting the namespace and related pods or eventsConsole support for creating and managing CronJob resources is not available yet
kubectlProfessional operators who already manage scheduled work with Kubernetes manifestsSupported today with namespace kubeconfig, API key auth, and admission policy checks

When to use a cronjob

Use caseWhy CronJob fits
Run work on a scheduleKubernetes creates jobs from a cron-style schedule
Keep batch logic declarativeThe schedule and job template live in version-controlled manifests
Trigger recurring namespace maintenanceCleanup, sync, and report generation fit well
Reuse normal job semanticsEach scheduled run becomes a standard Kubernetes Job

If you only need a one-time execution, use a Job instead.

Supported cronjob profile

AreaSupported behavior
Resource typebatch/v1 CronJob
Access pathkubectl with namespace kubeconfig and a Kubernetes exec API key
Schedule formatStandard Kubernetes cron schedule syntax
Job template policyThe embedded job template must pass the same SKU and admission rules as other workloads
Namespace modelThe cronjob and the jobs it creates stay inside the same namespace boundary

Create a cronjob

RemoteGPU does not yet provide a dedicated console flow for creating or editing CronJob resources.

Use the console for namespace setup, kubeconfig download, and namespace inspection, then create the scheduled workload with kubectl.

Operating cronjobs on RemoteGPU

TopicGuidance
Resource sizingThe job template inside the cronjob should carry the same SKU labeling discipline as other workloads
ConcurrencySet concurrencyPolicy intentionally so overlapping runs do not surprise you
Job historySet success and failure history limits so completed jobs do not accumulate indefinitely
Public exposureCronJobs are batch resources; they do not replace the deployment-service-ingress model used for public HTTP apps

What you can do from the console today

The console is still useful even when the cronjob itself is created with kubectl:

  • create the namespace
  • download namespace kubeconfig
  • inspect pods, events, and logs created by scheduled runs
  • inspect related services or ingresses in the same namespace

RemoteGPU customer documentation