Re: How Do I Use CGI->System Call As CronJob?

From: Captain Dondo (yan_at_NsOeSiPnAeMr.com)
Date: 10/31/03


Date: Fri, 31 Oct 2003 06:07:22 -0500

Public Interest wrote:
> The CGI still want for the exec to be finished!!!. I have printout from the
> EXEC. and it kept showing on my browser!!!

man bash:

exec If command is specified, it replaces the shell.

When you run 'exec', there is no longer a script to return to. exec is
the last command any script will run.

If you want to return to it, use 'system'.

I'm guessing that perl and sh are consistent in the use of 'exec' and
'system'.

-Dondo

-- 
What am I on?
I'm on my bike,                         o__
6 hours a day, busting my ass.          ,>/'_
What are you on? --Lance Armstrong     (_)\(_)


Relevant Pages

  • Re: Scheduled script problem
    ... A vbs script that sets up a command to run a batch file, calls EXEC on the ... until the scheduler stops the script after the maximum allowed time to run. ...
    (microsoft.public.windows.server.scripting)
  • Re: Scheduled script problem
    ... A vbs script that sets up a command to run a batch file, calls EXEC on the ... until the scheduler stops the script after the maximum allowed time to run. ...
    (microsoft.public.windows.server.scripting)
  • Re: how do you get a handle to the interpreter?
    ... > launch it from the tcl script via exec, rather than creating it as a tcl ... > made into a command ... Umm, if you are launching it via exec it is a complely different process, ...
    (comp.lang.tcl)
  • Re: How to change password for sa?
    ... I've got some grid after performing this script. ... but no command or any other means to affect the problem I ... >> EXEC sp_changedbowner 'TempOwner' ...
    (microsoft.public.sqlserver.security)
  • Re: setting set -x for just one command
    ... But not if you use it as the last command of a subshell. ... I was supposed to write a wrapper for this script. ... because it was waiting for the 'exec' to complete. ...
    (comp.unix.shell)