LocalOps Documentation home page
Documentation
Changelog
Support
Create account
Console
Console
Search...
Navigation
Services
Cron Job
Search...
⌘K
Blog
Documentation
Start here
How it works
Public SaaS deployments
Dedicated Infrastructure
Private SaaS deployments / BYOC
Preview environments (full stack)
Support
Compatibility
Guides
Node/ExpressJS
Python/Django
Go/gin
Next.js
ReactJS
Angular
Ember
VueJS
Connections
Cloud accounts
Connect GitHub account
Environments
What's inside?
Create environment
Extend using Terraform/Pulumi
Monitoring
Infrastructure Resources
Shared responsibilities
Delete environment
Eject out of LocalOps
Services
Create service
Configure ops.json
Deploy a service
Web service
Internal service
Workers
Job
Cron Job
AWS services
Deploying Micro Services
Secrets
Custom domain
Delete service
CLI
Install on macOS
Install on Linux
Install on Windows
Usage
Team
Understanding roles
Invite team members
Deactivate a user
Audit Log
Troubleshooting
Environment creation
Custom Domain
Bring your helm charts (soon)
First Steps
Publish Helm Charts
Tutorials
Databases
Database Migration
Environment Variables
Multiple Helm Charts
On this page
Run command
Cron schedule
Logs
Services
Cron Job
A Cron job service is like a Job service. It spins up the specific container on a given schedule.
Run command
When you
create a service
, you must provide appropriate
Run command
if your Dockerfile
CMD
doesn’t point at the job script.
Cron schedule
Specify a cron schedule like
5 4 * * *
. Refer to
https://crontab.guru/
for the syntax to specify your schedule.
Logs
You can see logs of the job via the in-built Grafana dashboard. Navigate to Monitor tab to login to Grafana dashboard. Within Grafana dashboard, filter to see
app-services
namespace logs.
You can create any number of jobs in your environment.
Was this page helpful?
Yes
No
Job
Previous
S3 Buckets
Next
Assistant
Responses are generated using AI and may contain mistakes.