in reply to Re: system command not working after connection with cgi breaks
in thread system command not working after connection with cgi breaks

can you please elaborate on at now command
  • Comment on Re^2: system command not working after connection with cgi breaks

Replies are listed 'Best First'.
Re^3: system command not working after connection with cgi breaks
by psini (Deacon) on Jun 23, 2008 at 18:08 UTC

    You make a system call to the at unix command (see man at).

    In our context, if you execute at now <"your_command" the at command returns immediately, so you can terminate your cgi script but the command "your_command" is executed in another process that is not a child of your process, but of cron deamon. Actually at schedules a single execution of your_command via crond.

    Careful with that hash Eugene.