Re: foxpro 2 for Unix and cron jobs.
From: swdev2 (wsanders.bob_at_bob.efgroup.com)
Date: 04/08/04
- Next message: Hughs Man: "How to make application in the System Tray"
- Previous message: ustech: "RE: Excel Workbook "Style" reports?"
- In reply to: Nelson Arroyo: "foxpro 2 for Unix and cron jobs."
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 7 Apr 2004 20:04:35 -0500
Heya Nelson
coupla things:
1. running the cron as which user ?
2. for 'that' user - does 'foxpro' invoked at first login prompt work ? if
no - see below
3. once logged in as 'that ' user - does 'foxpro 1dnc###.prg' work ? if
no - see below
---------and now for ----- below
2.a. you have a pathing problem - fix it.
3.a give the cron job the exact pathing to the location of the 1dnc###.prg
file
---- are you setting the job to email you back on success/failure ? you may want to set up the cron job, instead of just ONE line - as a script file - then inside the script file set up your environment variables, and put in the relative path of the prg file. ALSO ? there should be a run time module of sorts - can't remember the exact name, but it wasn't 'foxpro' . But I remember you can invoke a prg with some other command line switches. --- hth - its been a few years since I touched a FPU box .. mondo regards [Bill] -- William Sanders / Electronic Filing Group Remove the DOT BOB to reply via email. Mondo Cool TeleCom -> http://www.efgroup.net/efgcog.html Mondo Cool WebHosting -> http://www.efgroup.net/efglunar.html Mondo Cool Satellites -> http://www.efgroup.net/sat mySql / VFP / MS-SQL "Nelson Arroyo" <n_arroyo@bellsouth.net> wrote in message news:MJIcc.3280$ZT1.1403@bignews6.bellsouth.net... > Hello all > In Unix I can type foxpro 1dnc###.prg, which will open foxpro and run the > program. I am looking to run this via a cron job. Its been explained to me > by the vendor that the cron job bombs out because foxpro needs to open the > foxpro window to run and it doesnt know where to open it. > > Is there a command in foxpro to suppress the window from opening it? > > Thanks for all the assistance. > >
- Next message: Hughs Man: "How to make application in the System Tray"
- Previous message: ustech: "RE: Excel Workbook "Style" reports?"
- In reply to: Nelson Arroyo: "foxpro 2 for Unix and cron jobs."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|