You are here

How do I leave a job running?

Printer-friendly versionPrinter-friendly version
  • How do I leave a job running?

    For medium term jobs (more than 18 hours, but less than 28 days), or any job that you wish to leave running in the background (so you can log out) use longjob.

    Simply place the command(s) you want to run within a bash script, then run that script with longjob, e.g

        longjob -28day -c ./script_name.sh 

    You will be asked to enter your DICE password, then the job will run for up to 28 days. Read the longjob manual (man longjob) for more details.

    You can check that your longjob process is running with

        ps -ef | grep script_name.sh

    Remember to save your results regularly, and always play nice (with at least a value of +10).

    Rather than occupying a lab machine, it may be more appropriate to use a compute server. See our list of general purpose servers.

    Long term jobs (greater than 28 days) need extra setup. Ask for this via the Support Form.


  • Last reviewed: 
    08/03/2018

    System Status

    Home dirs (AFS)
    Network
    Mail
    Other services
    Scheduled downtime

    Choose a topic