Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Say I want to schedule this job to be run at later time
MYPROGRAM > output.out 2> error.err | at 02:00 PM Mon
How can I attain its PID? Surely using:
will not work?
You can't get a PID of a process which is not currently running, so there is no meaning for PID of a scheduled job.