RE: To use "at" vs. "crontab", that is the question

From: Fabio Giannotti (fabiog_at_venmar.com)
Date: 10/25/03


Date: Sat, 25 Oct 2003 16:07:08 GMT
To: "Scomsc (E-mail)" <scomsc@xenitec.on.ca>


I have found that I need to add a

TERM=ansi;export TERM

line to the script that calls the foxbase program from cron or at...

Fabio

> -----Original Message-----
> From: listmaster@xenitec.on.ca [mailto:listmaster@xenitec.on.ca]On
> Behalf Of Bob Meyers
> Sent: Friday, October 24, 2003 10:25 AM
> To: distribution@xenitec.on.ca
> Subject: Re: To use "at" vs. "crontab", that is the question
>
>
>
> "Dave" <bonehead@home.net> wrote in message
> news:Wl2mb.3904$P%1.3269694@newssvr28.news.prodigy.com...
> > Yes yes, I'm sure someone will have a laugh or two, but
> FoxPro is still
> > being used and I'm not knowledgeable enough with SCO. Although I'm
> absorbing
> > what I can about SCO when I have time, I wanted to once
> again get the
> advice
> > from those with the experience.
>
> If they laugh, I'll get the garden hose, foxpro is one fine
> product. Too bad
> Microsoft killed it, an obvious monopoly abuse.
>
> If you are going to run foxpro with 'at' or cron, you may
> need to modify
> your code so it doesn't do any screen output, except error
> and quit. I'll
> never forget one of my first foxpro cron jobs, I redirected stderr and
> stdout to a /tmp file. It then proceeded to hit a foxpro
> error and fill up
> the root filesystem and crash. You'll have to redirect stdin
> and set TERM or
> foxpro will error out.
>
>



Relevant Pages

  • Re: To use "at" vs. "crontab", that is the question
    ... >being used and I'm not knowledgeable enough with SCO. ... >presume it relates to the foxpro environment variables and not technically ... or just ensure permissions include execute? ... No reason not to use cron though; ...
    (comp.unix.sco.misc)
  • Re: foxpro 2 for Unix and cron jobs.
    ... running the cron as which user? ... you may want to set up the cron job, instead of just ONE line - as a ... name, but it wasn't 'foxpro'. ... Mondo Cool TeleCom -> http://www.efgroup.net/efgcog.html ...
    (microsoft.public.fox.helpwanted)
  • Re: To use "at" vs. "crontab", that is the question
    ... One thing I should have asked is: Will the two foxpro actions be ... >> being used and I'm not knowledgeable enough with SCO. ... > If you are going to run foxpro with 'at' or cron, ... > never forget one of my first foxpro cron jobs, I redirected stderr and ...
    (comp.unix.sco.misc)
  • Re: To use "at" vs. "crontab", that is the question
    ... > being used and I'm not knowledgeable enough with SCO. ... If they laugh, I'll get the garden hose, foxpro is one fine product. ... never forget one of my first foxpro cron jobs, I redirected stderr and ...
    (comp.unix.sco.misc)
  • Re: Foxpro Unix
    ... >> Has anyone else who uses SCO Foxpro Unix figured out how to run a foxpro ... as in cron? ... the error traps were critical in foxPLUS. ... the log file, root filesystem and crash. ...
    (comp.unix.sco.misc)