Scheduling job using UNIX "at" command

Am using the at command to schedule a task.

at now + 30 minutes
warning: commands will be executed using /bin/sh
at> /home/hagbard/chaos/iosafe120/sh/ocr.sh -dns 200 *.pdf<EOT>
job 1 at Sat May  2 14:29:00 2020

How can I know if it is running. And how can I get the output from the script to
show on the terminal when the job starts running?

the only ways are either add lines in your job script to echo anything in a log file or to output the execution of the script to a log file you open in another terminal using tail -f which will show all new lines being added to the log file... But difficult to say more as we know nothing of what your script is doing / output...

2 Likes