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,
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.
Entries use the same format as
cron. For an explanation on crontab entry formats, see the wikipedia page for
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
man scrontab on any cluster node to see the
scrontab manual page.
 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: