Use with Schedulers

Using CATS with the at scheduler

You can use CATS with the at job scheduler by running:

$ cats -d <job_duration> --loc <postcode> --scheduler at --command '<command>'

As an example, if you want to schedule a run of ls with a 5 minute duration, in the ‘OX1’ postcode that would look like:

$ cats -d 5 --loc OX1 --scheduler at --command 'ls'

Note

While CATS runs on Windows, it does not currently support scheduling with the at scheduler on operating systems other than Linux and MacOS. Windows scheduling is on our roadmap for a future release.

Using CATS with the sbatch scheduler

CATS provides a wrapper around sbatch to enable deferring job execution till the optimal start time:

$ cats -d <job_duration> --loc <postcode> --scheduler sbatch --command ./script.sh

Demonstration

A video demonstration of CATS being used standalone and with ``at``.