Use the Windows task scheduler to do scheduled tasks, writing your own task scheduler is way to complex.
You can compile an EXE file from VB.NET code, if you have a NXOpen author license, this EXE can be run from the task scheduler.
In NX CAM you have the ability for batch processing to generate, gouge check and postprocess tool paths, which you can specify to be run at certain times.
Just one simple question: "Why can't the posted NC code just wait on the DNC-Server share until it is fetched from the machine?"
No need for scheduled tasks and all the other things you have trouble with currently.
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk Testing: NX11.0 EAP, NX12.0 EAP
How to Get the Most from Your Signature in the Community
I am studying other ways of postprocessing on NX CAM and possible tools for CAD and CAM modules. That is why I want to know if a journal can be executed on certain time.