Also if there is no gui, then you might consider using jconsole.exe rather than j.exe.
In the post below there is a simple example of running a script from the command line. <http://www.jsoftware.com/pipermail/programming/2008-February/009792.html> ---Henry Rich wrote: > > Check out > > http://www.jsoftware.com/jwiki/Guides/Startup > > and ket us know if we need to improve it. > > Henry Rich > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Chito > > Jovellanos > > Sent: Wednesday, June 18, 2008 1:08 PM > > To: [email protected] > > Subject: [Jprogramming] J Batch Job > > > > I'm trying to create a standalone app, and need > > some additional guidance (beyond what's available > > on the wiki). > > > > Basically I want to run a batch job via > > the Windows scheduler (ie, no user gui). There > > are essentially three scripts (one.ijs, two.ijs, > > and files.ijs -- the latter from \systems\main\). > > All pgm input and output is solely via files. > > There is a 'root' fn in one.ijs that I call which > > initiates and completes all the work. This all > > functions as expected in an interactive J session. > > > > I've copied over j.exe and j.dll into the local > > environment in anticipation of it being needed > > in the stand-alone run. > > > > With the above, can someone help and outline > > the steps I need to take so that my code can be > > invoked from a scheduler? > > > > Thanks much / ... Chito > > --------------------------------------------------------------------- > - > > For information about J forums see > > http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
