Version Parallels Plesk Panel v10.4.4_build1013111102.18 os_CentOS 6
OS Linux 2.6.32-220.4.2.el6.x86_64
I have a perl script.
It works through cgi-bin of the domain, e.g. mydomain.com/cgi-bin/script.pl
It works through command line via ssh /usr/bin/perl /var/www/vhosts/mydomain.com/cgi-bin/script.pl
It fails when set as a scheduled task from plesk panel using path /usr/bin/perl /var/www/vhosts/mydomain.com/cgi-bin/script.pl
I get this error in my email:
Any suggestions/help is very much appreciated.
Thanks,
Kris
OS Linux 2.6.32-220.4.2.el6.x86_64
I have a perl script.
It works through cgi-bin of the domain, e.g. mydomain.com/cgi-bin/script.pl
It works through command line via ssh /usr/bin/perl /var/www/vhosts/mydomain.com/cgi-bin/script.pl
It fails when set as a scheduled task from plesk panel using path /usr/bin/perl /var/www/vhosts/mydomain.com/cgi-bin/script.pl
I get this error in my email:
-: /usr/bin/perl: No such file or directory
Any suggestions/help is very much appreciated.
Thanks,
Kris