% Run in a scratch working directory: native --initex --etex /path/to/job.tex job.pdf \catcode123=1 \catcode125=2 \catcode35=6 \defaulthyphenchar=45 \font\nativefont=cmr10 \nativefont \hsize=468pt \baselineskip=12pt \parfillskip=0pt plus1fil \immediate\openout0=job-time.aux \immediate\write0{\the\year/\the\month/\the\day, minutes=\the\time} \immediate\closeout0 \openin1=job-time.aux \ifeof1\errmessage{The written job file was not found}\fi \endlinechar=-1 \read1 to\captured \closein1 Captured job time: \captured.\par \message{Native job file was written and read back successfully.} \end