This was a contributed tip by @ragivenk189, nominated for inclusion in our library. These steps use the built-in at command in Unix.
The nohup utility can be used when it is known that command will take a long time to run and the user wants to logout of the terminal; By default, when a shell exits, the system sends its children SIGHUP signals, which by default cause them to be killed.
However, with nohup, background jobs will ignore SIGHUP and continue running, if their invocation is preceded by the nohup command or if the process programmatically has chosen to ignore SIGHUP.
job 107225020.a at Friday Oct 26th 2am
If you want to remove the above job from the queue, type: at -r 107225020.a
This command deletes the scheduled job.
If you like to submit a job at a specified date you can type:
at 0815am nov 02
Here the job will run on Nov 2nd at 8.15am.
For another approach that uses shell scripts, see Running SAS programs under Unix/Linux by @LeonidBatkhan.
Use
at -c 107225020.a
to see what command(s) the job will run
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning and boost your career prospects.