As stated in my initial question, I am looking for a way to execute a perl script with cron. Your suggestion was to execute it as CGI, which I did despite the fact that I do not understand why I should do so. I have a perl script named myScript.pl (filename made up) and I want to execute this script. You do not provide SSH so cron seems like a possible workaround. My question was simply: What's the command to put in the cron job to have a script being executed which is stored in "/home/mkk/www"? To answer your questions: - No, I cannot execute the script using my browser. I get ERROR 500. Could be because it's not a CGI script - The /bin/sh has only been added in the email. By the way: My script starts with: BEGIN { my $b__dir = (-d '/home/mkk/perl'?'/home/mkk/perl':(/&--#62;/&--#62; getpwuid($&--#62;) )[7].'/perl'); unshift @INC,$b__dir.'5/lib/perl5',$b__dir.'5/lib/perl5/x86_64-linux',map { $b__dir . $_ } @INC; } Right after that, my code starts...