exec problem in php (2 times execution)
| From: | Lepretre Olivier | Date: | Fri, 27 Jun 2003 15:09:27 +0000 |
| Subject: | exec problem in php (2 times execution) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-153151@lists.php.net to get a copy of this message | ||
Hi all,
I have a php code that tries to execute an "rexec" function for a "at"
command. For this I coded it in this way :
$str = exec ("rexec -l usr1 -p usr1 myserver at now + 2minutes -f input
file";
the rexec function in itself is running fine in shell mode but whene I try
to execute it through php, i have the job 2 times in my queue.
Any idea is appreciated !
Oll