Pricing Docs Blog Apps Tools Support Start Free
Infrastructure

What is a cron job, and where do you host one?

A cron job is a command scheduled to run automatically at fixed times, defined by a five-field expression such as 0 3 * * * for 3am daily. The cron daemon has shipped with Unix systems since the 1970s and remains the standard way to run backups, imports, cleanups and report jobs on a Linux server.

Also called: scheduled job, crontab. Last reviewed August 2026.

How does cron syntax work?

A crontab line has five time fields followed by the command: minute, hour, day of month, month, day of week. An asterisk means every value. So 0 3 * * * runs at 03:00 every day, */15 * * * * runs every fifteen minutes, and 0 9 * * 1 runs at 09:00 every Monday.

ExpressionRuns
*/5 * * * *Every 5 minutes
0 * * * *Hourly, on the hour
0 3 * * *Daily at 03:00
0 9 * * 1Weekly, Monday at 09:00
0 0 1 * *Monthly, midnight on the 1st

Why is scheduling awkward on serverless platforms?

Because there is no machine to schedule on. Function platforms bill per invocation and destroy the runtime afterwards, so scheduled work becomes a separate product with its own quota, its own timeout, and its own bill. A job that takes eleven minutes on a server can be impossible inside a function timeout.

On InstaPods, cron jobs and background workers run on the same flat-priced pod as the app, with no per-run or per-operation metering. Source: InstaPods docs, AI builder guide, verified 2026-08-06

How do you run a cron job on a pod?

The ordinary Linux way. SSH into the pod, run crontab -e, add the line, save. The job runs on the same machine as the app, so it can reach the local database, read the same files, and use the same environment. Nothing extra to buy and no separate scheduler to wire up.

Where cron job shows up on InstaPods

Related terms

Try it on a real server

InstaPods gives you a pod with SSH access, automatic HTTPS and persistent disk from $3/mo. One command from your project folder.

Deploy your first pod

Back to the hosting glossary