---
title: "scrontab"
id: "23871"
type: "epkb_post_type_1"
slug: "scrontab"
published_at: "2021-03-23T15:35:25+00:00"
modified_at: "2026-05-04T23:52:10+00:00"
url: "https://docs.rc.fas.harvard.edu/kb/scrontab/"
markdown_url: "https://docs.rc.fas.harvard.edu/kb/scrontab.md"
excerpt: "scrontab can be used to define a number of recurring batch jobs to run on the cluster at a scheduled interval. Much like its namesake, crontab, the scrontab command maintains entries in a file that are executed at specified times..."
taxonomy_epkb_post_type_1_category:
  - "Cluster Usage"
---

# scrontab

`scrontab` can be used to define a number of recurring batch jobs to run on the cluster at a scheduled interval. Much like its namesake, `crontab`, the `scrontab` command maintains entries in a file that are executed at specified times or intervals. Simply type `scrontab` from any cluster node and add your job entries in the editor window that appears, one per line. Then save and exit the editor the same way you would exit vim[1].

Entries use the same format as `cron`. For an explanation on crontab entry formats, see [the wikipedia page for cron](https://en.wikipedia.org/wiki/Cron)
.

This example `scrontab` entry runs a jobscript in user jharvard’s home directory called runscript.sh at 23:45 (11:45 PM) every Saturday:

45 23 * * 6 /n/home01/jharvard/runscript.sh

Note: Your home directory may be located in a different location. To find the directory you are in, type `pwd` at the command line.

For more information on `scrontab`, type `man scrontab` on any cluster node to see the `scrontab` manual page.

 [1] For those who prefer a different editor, you can precede the `scrontab` command with the `EDITOR` variable. For example, if you want to use `nano`, you could invoke `scrontab` like so: `EDITOR=nano scrontab`

Last UpdatedMay 4, 2026
