Blog

Cron jobs: run a Node.js or Python file on a schedule

How to schedule a Node.js or Python file in an account's app folder, with a common setting or five cron fields in server time, and what the file must be before the job runs.

Cron jobs: run a Node.js or Python file on a schedule

2026-11-22

A cron job runs a Node.js or Python file from the account's app folder, as the account's own user, on a schedule. The schedule uses five cron fields in server time. The file has to exist already.

Add a job

  1. Open Hosting in the sidebar, then Cron Jobs.
  2. Choose the Account.
  3. Pick a Common setting: Every 5 minutes, Every hour, Every day at 03:00, Every Sunday at 03:00, First day of the month at 03:00, or Custom.
  4. For Custom, type the five fields: minute, hour, day of month, month and weekday.
  5. Choose the Runtime, Node.js or Python, and type the File inside app/, for example jobs/cleanup.js.
  6. Press Add job.
Cron jobs page with the account, the common settings, the five schedule fields and the runtime and file boxes
Cron jobs: the account, the common setting, the five fields with the Runs at line, and the file box.

Read the schedule

Runs at shows the five fields in cron form. The setting Every day at 03:00 gives 0 3 * * *, which runs every day at 03:00 server time. Check the server time before you set a job that must run at a certain hour.

Create the file first

Create the file in the account's app folder with the File Manager, then add the job. The page says the file has to exist already, so create it before you add the job.

All posts