(11-04-2009 05:54 PM)WuChEn Wrote:  Yes its an execute file and this exist.
Full Pfad is:
/var/www/virtual/domain.tld/cgi-bin/perltest.pl
chmod tested with 750 and 755 and 777
Command an Cronejobs ad is
perl /var/www/virtual/domain.tld/cgi-bin/perltest.pl
If i add, it says:
File not found!
If i move File to 
/var/www/virtual/perltest.pl
and change pfad an GUI to
perl /var/www/virtual/perltest.pl
it works.
perltest.pl has owner and user vu2001.
Whats wrong?
Greatz WuChEn
Mey be ispCP user have not access to cgi-bin
In comand line type
#sudo -u vu2001 perl /var/www/virtual/domain.tld/cgi-bin/perltest.pl
If it's executable, You may disable file checking in /var/www/ispcp/gui/client/cronjobs_add.php
Coment lines -
PHP Code:
//Check files and permission
/*
if(!file_exists($file)) {
    set_page_message(tr('File not found!'));
    return;
    } //No file!
if(!is_readable($file)) {
    set_page_message(tr('File not readable!'));
    return;
    }; //Wrong permissions!
if(strpos("cgi",$file) || strpos("pl",$file)) // only for cgi and pl and so..
{
    if(!is_executable($file)) {
    set_page_message(tr('Wrong permissions!'));
    return;
    }; //Wrong permissions!
}
*/ 
If it's not executable in command line, find your permission error.
Hmmmm...
Now I tested cronjob in my server under CentOS
perl /var/www/virtual/veterinars.ru/cgi-bin/ikonboard.cgi
I have not thise error.